Do not create matrix_bridge_sms Postgres database

That bridge only supports its own file-based database,
so preparing a Postgres database for it is pointless.
This commit is contained in:
Slavi Pantaleev 2021-01-03 10:21:59 +02:00
parent bcb408497d
commit 6b1e25d843

View File

@ -1088,12 +1088,6 @@ matrix_postgres_additional_databases: |
'password': matrix_mautrix_whatsapp_database_password,
}] if (matrix_mautrix_whatsapp_enabled and matrix_mautrix_whatsapp_database_engine == 'postgres' and matrix_mautrix_whatsapp_database_hostname == 'matrix-postgres') else [])
+
([{
'name': 'matrix_bridge_sms',
'username': 'matrix_bridge_sms',
'password': matrix_synapse_macaroon_secret_key | password_hash('sha512', 'bridge.sms.db') | to_uuid,
}] if matrix_sms_bridge_enabled else [])
+
([{
'name': matrix_mx_puppet_skype_database_name,
'username': matrix_mx_puppet_skype_database_username,