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

Closed
Open
Created Feb 21, 2019 by 黄宽宽@huangkuankuanDeveloper

数据库加表

mysql变更格式

数据库:ucs

表名:tb_credit_contact

use ucs;
create table `tb_credit_contact`(
  `id` int auto_increment primary key,
  `name` varchar(255) default '' not null comment '联系人姓名',
  `company_name` varchar(255) default '' not null comment '公司名',
  `phone` varchar(50) default '' not null comment '联系人手机',
  `email` varchar(500) default '' not null comment '联系人邮箱',
  `status` int default '1' not null comment '状态默认1,1有效,2无效',
  `create_time` datetime default CURRENT_TIMESTAMP  not null,
  `last_update_time` timestamp default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP
)engine =InnoDB default charset = utf8 comment '立信版本联系申请表';
create index tb_credit_contact_company on tb_credit_contact (company_name);
create index tb_credit_contact_phone on tb_credit_contact (phone);
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking