敏感词
This commit is contained in:
10
schoolNewsServ/.bin/mysql/sql/createTableSensitive.sql
Normal file
10
schoolNewsServ/.bin/mysql/sql/createTableSensitive.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
use school_news;
|
||||
|
||||
DROP TABLE IF EXISTS `tb_sensitive_word`;
|
||||
CREATE TABLE `tb_sensitive_word` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`word` varchar(255) NOT NULL COMMENT '敏感词',
|
||||
`type` VARCHAR(10) NOT NULL COMMENT '类型allow\deny'
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `word` (`word`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='敏感词表';
|
||||
Reference in New Issue
Block a user