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

Closed
Open
Created Nov 02, 2018 by 黄宽宽@huangkuankuanDeveloper

数据库加表

mysql变更格式

数据库:ucs

表名:tb_admin_for_wiki

sql:

-- auto-generated definition
create table tb_admin_for_wiki
(
  id                   int auto_increment
    primary key,
  order_id             varchar(32)                         not null
  comment '订单号',
  company_name         varchar(255)                        not null
  comment '公司名',
  company_name_digest  varchar(32)                         not null
  comment 'digest',
  month                int(5)                              not null
  comment '开通的月数',
  phone                varchar(20)                         not null
  comment '手机号',
  contact              varchar(20)                         not null
  comment '联系人',
  email                varchar(255)                        not null
  comment '邮箱',
  type                 tinyint(1) default '1'              not null
  comment '提单类型:1新开,2续费',
  business_licence_url varchar(225)                        not null
  comment '营业执照',
  operation            varchar(60) default ''              not null
  comment '审核人员',
  add_operation        varchar(60) default ''              not null
  comment '提单人',
  status               tinyint(1) default '1'              not null
  comment '审核状态:1代审核,2审核通过,3审核失败',
  msg                  varchar(255) default ''             not null
  comment '审核备注信息',
  audit_time           timestamp                           null
  comment '审核时间',
  create_time          timestamp default CURRENT_TIMESTAMP not null,
  last_update_time     timestamp default CURRENT_TIMESTAMP not null
  on update CURRENT_TIMESTAMP,
  contact_post         varchar(55) default ''              not null
  comment '联系人职务',
  agent_name           varchar(55) default ''              not null
  comment '代理商名称',
  saller_name          varchar(55) default ''              not null
  comment '销售人员名称',
  company_web_site     varchar(55) default ''              not null
  comment '网站',
  company_outer_phone  varchar(128) default ''             not null
  comment '对外公开的企业手机号,可以添加多个',
  constraint tb_admin_for_wiki_order_id_uindex
  unique (order_id)
);

create index tb_admin_for_wiki_digest_index
  on tb_admin_for_wiki (company_name_digest);
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking