mirror of
https://github.com/solero/houdini.git
synced 2025-08-09 20:24:05 +00:00
Make word column primary key of chat_filter_rule
This commit is contained in:
@@ -446,7 +446,8 @@ CREATE TABLE chat_filter_rule (
|
||||
word TEXT,
|
||||
filter BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
warn BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
ban BOOLEAN NOT NULL DEFAULT FALSE
|
||||
ban BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
PRIMARY KEY(word)
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX chat_filter_rule_word ON chat_filter_rule(word);
|
||||
|
Reference in New Issue
Block a user