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

@ -127,8 +127,8 @@ advanced:
# Use an external database to store bridge state.
database:
# database engine (must be 'postgres' or 'nedb'). Default: nedb
engine: {{ matrix_appservice_irc_database_engine }}
engine: {{ matrix_appservice_irc_database_engine|to_json }}
# Either a PostgreSQL connection string, or a path to the NeDB storage directory.
# For postgres, it must start with postgres://
# For NeDB, it must start with nedb://. The path is relative to the project directory.
connectionString: {{ matrix_appservice_irc_database_connString | to_json }}
connectionString: {{ matrix_appservice_irc_database_connectionString|to_json }}