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

10 lines
296 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS push_rules_enable (
id INTEGER PRIMARY KEY AUTOINCREMENT,
2015-04-02 05:06:22 -04:00
user_name VARCHAR(150) NOT NULL,
rule_id VARCHAR(150) NOT NULL,
enabled TINYINT,
UNIQUE(user_name, rule_id)
2015-04-09 08:45:20 -04:00
);
CREATE INDEX IF NOT EXISTS push_rules_enable_user_name on push_rules_enable (user_name);