MatrixSynapse/synapse/storage/data_stores/main/schema/full_schemas
Andrew Morgan 7963ca83cb
Add delta file to fix missing default table data (#6555)
2019-12-18 11:13:33 +00:00
..
16
54 Add delta file to fix missing default table data (#6555) 2019-12-18 11:13:33 +00:00
README.md Add dev script to generate full SQL schema files (#6394) 2019-12-11 13:16:01 +00:00

README.md

Building full schema dumps

These schemas need to be made from a database that has had all background updates run.

To do so, use scripts-dev/make_full_schema.sh. This will produce full.sql.postgres and full.sql.sqlite files.

Ensure postgres is installed and your user has the ability to run bash commands such as createdb.

./scripts-dev/make_full_schema.sh -p postgres_username -o output_dir/