mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 20:38:46 -05:00
Fix up schemas to work with mariadb
This commit is contained in:
parent
89036579ed
commit
fae059cc18
15 changed files with 82 additions and 84 deletions
|
|
@ -16,7 +16,7 @@ CREATE TABLE IF NOT EXISTS redactions (
|
|||
event_id VARCHAR(255) NOT NULL,
|
||||
redacts VARCHAR(255) NOT NULL,
|
||||
UNIQUE (event_id)
|
||||
);
|
||||
) ENGINE = INNODB;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS redactions_event_id ON redactions (event_id);
|
||||
CREATE INDEX IF NOT EXISTS redactions_redacts ON redactions (redacts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue