Add support for automatic (nedb -> Postgres) migration to mx-appservice-irc

This commit is contained in:
Slavi Pantaleev
2020-12-22 19:32:43 +02:00
parent 815a80c290
commit 715bdf2c64
9 changed files with 109 additions and 81 deletions

View File

@ -181,8 +181,7 @@ matrix_appservice_irc_appservice_token: "{{ matrix_synapse_macaroon_secret_key |
matrix_appservice_irc_homeserver_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'irc.hs.token') | to_uuid }}"
# Postgres is the default, except if not using `matrix_postgres` (internal postgres)
matrix_appservice_irc_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'sqlite' }}"
matrix_appservice_irc_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'nedb' }}"
matrix_appservice_irc_database_password: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'as.irc.db') | to_uuid }}"