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

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

数据库加表

mysql变更格式

数据库:ucs

表名:tb_admin_for_user_note

sql

-- auto-generated definition
create table tb_admin_for_user_note
(
  id             int auto_increment
    primary key,
  pid            int                                 not null
  comment '档案提单id',
  note           varchar(255)                        null
  comment '备注内容',
  note_img_path  varchar(255)                        null
  comment '备注图片',
  status         tinyint(1) default '1'              not null
  comment '状态:1代表有效2代表无效',
  operation      varchar(255)                        null,
  add_time       timestamp default CURRENT_TIMESTAMP not null,
  lastupdatetime timestamp default CURRENT_TIMESTAMP not null
  on update CURRENT_TIMESTAMP
);

create index ix_pid
  on tb_admin_for_user_note (pid);
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking