mirror of
https://github.com/solero/houdini.git
synced 2024-11-08 20:28:20 +00:00
Make word column primary key of chat_filter_rule
This commit is contained in:
parent
165bc95ccf
commit
851878a218
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user