数据库加表
mysql变更格式
数据库:suqian
表名: tb_trusted_tips
sql:
-- auto-generated definition
create table tb_trusted_tips
(
id int auto_increment
primary key,
shop_id int default '0' not null
comment '对应的商铺id',
contents varchar(5000) default '' not null
comment '信用提示的内容',
operator_user_id int null
comment '操作员id',
operator varchar(100) default '' null
comment '操作人员(记录昵称)',
status tinyint(1) default '1' not null
comment '提示的状态:1正面提示;2负面提示;0删除的信息',
create_time timestamp default CURRENT_TIMESTAMP not null,
last_update_time timestamp default CURRENT_TIMESTAMP not null
on update CURRENT_TIMESTAMP
)
comment '宿迁-信用提示信息表';