anonymousland-synapse/synapse/storage/schema/delta/14/v14.sql

10 lines
297 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS push_rules_enable (
2015-03-19 09:42:39 -04:00
id BIGINT PRIMARY KEY,
2015-03-18 07:18:49 -04:00
user_name VARCHAR(255) NOT NULL,
rule_id VARCHAR(255) NOT NULL,
enabled TINYINT,
UNIQUE(user_name, rule_id)
2015-03-19 09:42:39 -04:00
) ENGINE = INNODB;
CREATE INDEX IF NOT EXISTS push_rules_enable_user_name on push_rules_enable (user_name);