mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-21 01:44:35 -04:00
Add support for postgres instead of mysql. Change sql accourdingly. blob + varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS.
This commit is contained in:
parent
3c741682e5
commit
58d8339966
21 changed files with 153 additions and 140 deletions
|
@ -18,5 +18,5 @@ CREATE TABLE IF NOT EXISTS redactions (
|
|||
UNIQUE (event_id)
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS redactions_event_id ON redactions (event_id);
|
||||
CREATE INDEX IF NOT EXISTS redactions_redacts ON redactions (redacts);
|
||||
CREATE INDEX redactions_event_id ON redactions (event_id);
|
||||
CREATE INDEX redactions_redacts ON redactions (redacts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue