mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-22 21:29:23 -05:00
10 lines
280 B
SQL
10 lines
280 B
SQL
CREATE TABLE IF NOT EXISTS push_rules_enable (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
user_name TEXT NOT NULL,
|
|
rule_id TEXT NOT NULL,
|
|
enabled TINYINT,
|
|
UNIQUE(user_name, rule_id)
|
|
);
|
|
|
|
CREATE INDEX IF NOT EXISTS push_rules_enable_user_name on push_rules_enable (user_name);
|