mysql变更格式
数据库:ucs
表名:trusted_contact
sql:
# 可信商家联系表
create table `trusted_contact`(
`id` int(11) not null auto_increment,
`name` varchar(20) not null default '' comment '姓名',
`phone` varchar(20) not null default '' comment '电话号码',
`status` tinyint(1) not null default 1 comment '处理状态:1待处理,2已处理',
`attach_msg` text comment '附加信息,客服留的备注信息',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;