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

Closed
Open
Created Jan 29, 2019 by 黄宽宽@huangkuankuanDeveloper

数据库加表

mysql变更格式

数据库:ucs

表名:tb_license_no

use ucs;
create table `tb_license_no`(
  `id` int auto_increment primary key ,
  `type` tinyint(1) null comment '证书类型',
  `company_name_digest` varchar(32) not null default '' comment 'digest',
  `license_no` varchar(32) not null default '' 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_license_no_digest on tb_license_no (company_name_digest);
create index tb_license_no_no on tb_license_no (license_no);
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking