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 varchar(100) default '' null
comment '操作人员(不知道后台是以id还是昵称记录,先定义为varchar类型)',
status tinyint(1) default '1' not null
comment '提示的状态:1正面提示;2负面提示',
create_time timestamp default CURRENT_TIMESTAMP not null,
last_update_time timestamp default CURRENT_TIMESTAMP not null
on update CURRENT_TIMESTAMP
)
comment '宿迁-信用提示信息表';