mysql变更格式
数据库:ucs
表名: tb_tour_icp_license
sql:
-- auto-generated definition
create table tb_tour_icp_license
(
id int auto_increment
primary key,
company_name varchar(500) default '' not null
comment '企业名称',
site_url varchar(1000) default '' not null
comment '域名',
status tinyint(1) unsigned 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 '旅游-网站信息-没有许可证的表';
create index tb_tour_icp_license_site_url_index
on tb_tour_icp_license (site_url);