Feed more slashes to mautrix bridges when using SQLite

This makes the `sqlite://` URI match what we were using before
and what the config expects.
development
Slavi Pantaleev 4 years ago
parent ea804f2f9f
commit be0c599565

@ -55,7 +55,7 @@ matrix_mautrix_facebook_database_connection_string: 'postgresql://{{ matrix_maut
matrix_mautrix_facebook_appservice_database: "{{
{
'sqlite': ('sqlite://' + matrix_mautrix_facebook_sqlite_database_path_in_container),
'sqlite': ('sqlite:///' + matrix_mautrix_facebook_sqlite_database_path_in_container),
'postgres': matrix_mautrix_facebook_database_connection_string,
}[matrix_mautrix_facebook_database_engine]
}}"

@ -62,7 +62,7 @@ matrix_mautrix_hangouts_database_connection_string: 'postgresql://{{ matrix_maut
matrix_mautrix_hangouts_appservice_database: "{{
{
'sqlite': ('sqlite://' + matrix_mautrix_hangouts_sqlite_database_path_in_container),
'sqlite': ('sqlite:///' + matrix_mautrix_hangouts_sqlite_database_path_in_container),
'postgres': matrix_mautrix_hangouts_database_connection_string,
}[matrix_mautrix_hangouts_database_engine]
}}"

@ -66,7 +66,7 @@ matrix_mautrix_telegram_database_connection_string: 'postgresql://{{ matrix_maut
matrix_mautrix_telegram_appservice_database: "{{
{
'sqlite': ('sqlite://' + matrix_mautrix_telegram_sqlite_database_path_in_container),
'sqlite': ('sqlite:///' + matrix_mautrix_telegram_sqlite_database_path_in_container),
'postgres': matrix_mautrix_telegram_database_connection_string,
}[matrix_mautrix_telegram_database_engine]
}}"

Loading…
Cancel
Save