Commit de5506b9f142f3591cdf7a69760c59c7931db2d2

Authored by yeqianyong
1 parent 57d7540c

楚江ERP-SQL补充

  1 +alter table base_data_customer modify column mnemonic_code varchar(20) null;
  2 +
  3 +create table if not exists base_data_workshop (
  4 + id varchar(32) primary key comment 'ID',
  5 + code varchar(20) not null comment '厂房编号',
  6 + name varchar(50) not null comment '厂房名称',
  7 + type varchar(20) not null comment '厂房类型',
  8 + description varchar(100) comment '描述',
  9 + create_by_id varchar(32) not null comment '创建人ID',
  10 + create_by varchar(32) not null comment '创建人',
  11 + update_by_id varchar(32) not null comment '更新人ID',
  12 + update_by varchar(32) not null comment '更新人',
  13 + create_time datetime default now() comment '创建时间',
  14 + update_time datetime default now() comment '更新时间'
  15 +);
  16 +
  17 +create table if not exists base_data_office (
  18 + id varchar(32) primary key comment 'ID',
  19 + code varchar(20) not null comment '编号',
  20 + name varchar(50) not null comment '名称',
  21 + description varchar(100) comment '描述',
  22 + create_by_id varchar(32) not null comment '创建人ID',
  23 + create_by varchar(32) not null comment '创建人',
  24 + update_by_id varchar(32) not null comment '更新人ID',
  25 + update_by varchar(32) not null comment '更新人',
  26 + create_time datetime default now() comment '创建时间',
  27 + update_time datetime default now() comment '更新时间'
  28 +);
\ No newline at end of file
... ...