mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-01 23:36:03 -04:00
8 lines
284 B
SQL
8 lines
284 B
SQL
CREATE TABLE IF NOT EXISTS redactions (
|
|
event_id TEXT NOT NULL,
|
|
redacts TEXT NOT NULL,
|
|
CONSTRAINT ev_uniq 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);
|