mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 18:24:18 -05:00
9 lines
284 B
MySQL
9 lines
284 B
MySQL
|
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);
|