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
  • #223

Closed
Open
Created Oct 30, 2018 by 黄宽宽@huangkuankuanDeveloper

数据库加表

mysql变更格式

数据库:ucs

表名:tb_fast_contact

SQL

-- auto-generated definition
create table tb_fast_contact
(
  id                  int auto_increment
    primary key,
  company_name_digest varchar(32)                         not null
  comment 'digest',
  name                varchar(50) default ''              not null
  comment '名字',
  name_tmp            varchar(50)                         null
  comment '名字临时',
  position            varchar(50) default ''              not null
  comment '职务',
  position_tmp        varchar(50)                         null
  comment '职务临时',
  business            varchar(50) default ''              not null
  comment '业务',
  business_tmp        varchar(50)                         null
  comment '业务临时',
  photo_url           varchar(255) default ''             not null
  comment '联系人头像图片',
  photo_url_tmp       varchar(255)                        null
  comment '联系人头像图片临时',
  wechat_img_url      varchar(255) default ''             not null
  comment '微信二维码',
  wechat_img_url_tmp  varchar(255)                        null
  comment '微信二维码临时',
  msg                 varchar(255) default ''             not null
  comment '审核信息(未通过必填)',
  status              tinyint(1) default '1'              not null
  comment '状态,默认1代审核,2审核成功,3审核失败',
  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_fast_contact_digest_index
  on tb_fast_contact (company_name_digest);
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking