Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
shuidi-product-change
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • shuidi-product-change
  • Issues
  • #214

Closed
Open
Created Sep 06, 2018 by 黄宽宽@huangkuankuanDeveloper

数据库加表

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 '收集用户联系企业的数据表';
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking