数据库加表
mysql变更格式
数据库:ucs
表名:tb_contact_company
sql:
create table tb_contact_company
(
id int auto_increment
primary key,
company_name_digest varchar(32) default '' not null
comment 'digest',
contact_type tinyint(1) default '0' not null
comment '与企业联系的几种目的:1、合作;2、求职;3、投资;4投诉',
vistor_company varchar(100) default '' not null
comment '发信息人的公司',
vistor_name varchar(50) default '' not null
comment '发信息人的姓名',
content varchar(5000) default '' not null
comment '提交的内容',
vistor_contact varchar(50) default '' not null
comment '联系方式',
status tinyint(1) default '1' not null
comment '状态,默认1(未读信息)',
create_time timestamp default CURRENT_TIMESTAMP not null,
last_update_time timestamp default CURRENT_TIMESTAMP not null
on update CURRENT_TIMESTAMP
)
comment '收集用户联系企业的数据表';