mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
10 lines
297 B
SQL
10 lines
297 B
SQL
CREATE TABLE IF NOT EXISTS push_rules_enable (
|
|
id BIGINT PRIMARY KEY,
|
|
user_name VARCHAR(255) NOT NULL,
|
|
rule_id VARCHAR(255) NOT NULL,
|
|
enabled TINYINT,
|
|
UNIQUE(user_name, rule_id)
|
|
) ENGINE = INNODB;
|
|
|
|
CREATE INDEX IF NOT EXISTS push_rules_enable_user_name on push_rules_enable (user_name);
|