Fix up schemas to work with mariadb

This commit is contained in:
Erik Johnston 2015-03-19 13:42:39 +00:00
parent 89036579ed
commit fae059cc18
15 changed files with 82 additions and 84 deletions

View file

@ -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);