mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-03 08:56:04 -04:00
DB schema interface for password auth providers
Provide an interface by which password auth providers can register db schema files to be run at startup
This commit is contained in:
parent
c31a7c3ff6
commit
1650eb5847
3 changed files with 89 additions and 0 deletions
|
@ -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)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue