diff --git a/setup.sql b/setup.sql index 55b38e2..ed001bb 100644 --- a/setup.sql +++ b/setup.sql @@ -42,3 +42,9 @@ CREATE TABLE IF NOT EXISTS `posts` ( `content` VARCHAR(65535) NOT NULL, `cw` BOOLEAN NOT NULL ); +CREATE TABLE IF NOT EXISTS `word_blacklist` ( + `id` INT AUTO_INCREMENT PRIMARY KEY, + FOREIGN KEY (`bot_id`) REFERENCES bots(id) ON DELETE CASCADE, + `phrase` VARCHAR(128) NOT NULL, + `whole_word` BOOLEAN NOT NULL +)