anonymousland-synapse/synapse/storage/schema/redactions.sql

9 lines
284 B
MySQL
Raw Normal View History

2014-09-24 10:27:59 -04:00
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);