diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2017-10-31 17:20:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-31 17:20:47 +0000 |
commit | a72e4e3e2860694013dade663f46b82160d08add (patch) | |
tree | c868dffb9cf270632649e54fe4ba7f4cc685b188 /synapse/storage/schema | |
parent | Merge pull request #2611 from matrix-org/dbkr/port_script_drop_nuls (diff) | |
parent | fix tests (diff) | |
download | synapse-a72e4e3e2860694013dade663f46b82160d08add.tar.xz |
Merge pull request #2610 from matrix-org/rav/schema_for_pw_providers
DB schema interface for password auth providers
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/schema_version.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/storage/schema/schema_version.sql b/synapse/storage/schema/schema_version.sql index a7ade69986..42e5cb6df5 100644 --- a/synapse/storage/schema/schema_version.sql +++ b/synapse/storage/schema/schema_version.sql @@ -25,3 +25,10 @@ CREATE TABLE IF NOT EXISTS applied_schema_deltas( file TEXT NOT NULL, UNIQUE(version, file) ); + +-- a list of schema files we have loaded on behalf of dynamic modules +CREATE TABLE IF NOT EXISTS applied_module_schemas( + module_name TEXT NOT NULL, + file TEXT NOT NULL, + UNIQUE(module_name, file) +); |