diff --git a/1783321230_create_comment.up.sql b/1783321230_create_comment.up.sql index e0f3129..a3189ee 100644 --- a/1783321230_create_comment.up.sql +++ b/1783321230_create_comment.up.sql @@ -5,7 +5,7 @@ CREATE TABLE `comment` ( `user_id` INT NOT NULL COMMENT '评论用户ID', `parent_id` BIGINT DEFAULT 0 COMMENT '父评论ID(0表示顶级评论,非0表示回复)', `content` TEXT NOT NULL COMMENT '评论内容', - `status` TINYINT DEFAULT 0 COMMENT '状态:0-正常 1-已删除(软删除) 2-待审核 3-违规屏蔽', + `status` TINYINT DEFAULT 0 COMMENT '状态:1-正常 2-已删除(软删除) 3-待审核 4-违规屏蔽', `created_at` TIMESTAMP NUll DEFAULT NULL COMMENT '创建时间', `updated_at` TIMESTAMP NUll DEFAULT NULL COMMENT '更新时间' ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COMMENT = '通用评论表(支持多种内容类型)'; \ No newline at end of file