1
This commit is contained in:
37
updateSql/2022-11-29.sql
Normal file
37
updateSql/2022-11-29.sql
Normal file
@@ -0,0 +1,37 @@
|
||||
-- dm_tools.usr_reply definition
|
||||
|
||||
CREATE TABLE `usr_reply` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`user_id` int(11) unsigned DEFAULT '0' COMMENT '用户id',
|
||||
`feedback_id` int(11) unsigned DEFAULT '0' COMMENT '问题id',
|
||||
`nick_name` varchar(50) NOT NULL COMMENT '用户昵称',
|
||||
`context` json NOT NULL COMMENT '内容',
|
||||
`pictureList` json NOT NULL COMMENT '图片列表',
|
||||
`likes` int(11) NOT NULL DEFAULT '0' COMMENT '点赞数',
|
||||
`is_delete` int(1) NOT NULL DEFAULT '0' COMMENT '是否删除',
|
||||
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`last_modify_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '最后更新时间' ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COMMENT='用户反馈回复表';
|
||||
|
||||
|
||||
|
||||
|
||||
-- dm_tools.usr_feedback definition
|
||||
|
||||
CREATE TABLE `usr_feedback` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`user_id` int(11) unsigned DEFAULT '0' COMMENT '用户id',
|
||||
`nick_name` varchar(100) NOT NULL DEFAULT '' COMMENT '昵称',
|
||||
`problem_type` varchar(100) NOT NULL DEFAULT '页面优化建议' COMMENT '问题类别',
|
||||
`context` json NOT NULL COMMENT '内容',
|
||||
`mail_box` varchar(100) NOT NULL DEFAULT '' COMMENT '邮箱',
|
||||
`pictureList` json NOT NULL COMMENT '图片列表',
|
||||
`likes` int(11) NOT NULL DEFAULT '0' COMMENT '点赞数',
|
||||
`is_top` int(1) NOT NULL DEFAULT '0' COMMENT '是否置顶',
|
||||
`is_comments` int(1) NOT NULL DEFAULT '0' COMMENT '是否关闭评论',
|
||||
`is_delete` int(1) NOT NULL DEFAULT '0' COMMENT '是否删除',
|
||||
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`last_modify_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '最后更新时间' ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COMMENT='用户反馈表';
|
||||
Reference in New Issue
Block a user