2015-02-25 20:17:07 +01:00
|
|
|
CREATE TABLE IF NOT EXISTS push_rules_enable (
|
2015-04-10 12:16:09 +02:00
|
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
2015-04-02 11:06:22 +02:00
|
|
|
user_name VARCHAR(150) NOT NULL,
|
|
|
|
rule_id VARCHAR(150) NOT NULL,
|
2015-02-25 20:17:07 +01:00
|
|
|
enabled TINYINT,
|
|
|
|
UNIQUE(user_name, rule_id)
|
2015-04-09 14:45:20 +02:00
|
|
|
);
|
2015-02-25 20:17:07 +01:00
|
|
|
|
|
|
|
CREATE INDEX IF NOT EXISTS push_rules_enable_user_name on push_rules_enable (user_name);
|