feat(Core/Chat): Add chat filter with Aho-Corasick matching (#26051)

This commit is contained in:
Kitzunu
2026-06-01 22:26:28 +02:00
committed by GitHub
parent 333ba2f9ec
commit 8b8ba243d8
19 changed files with 494 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
-- Add `chat_filter` table for chat content filtering.
DROP TABLE IF EXISTS `chat_filter`;
CREATE TABLE `chat_filter` (
`ID` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`Word` VARCHAR(255) NOT NULL,
PRIMARY KEY (`ID`) USING BTREE
)
CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci
ENGINE = InnoDB
ROW_FORMAT = DEFAULT
;