数据库脚本修改

This commit is contained in:
JinLu.Yin 2022-09-10 08:51:32 +08:00
parent f4a8acb4a8
commit ab5bba3b3e
2 changed files with 10 additions and 1 deletions

View File

@ -221,6 +221,15 @@ create table md_workstation (
process_id bigint(20) comment '工序ID', process_id bigint(20) comment '工序ID',
process_code varchar(64) comment '工序编码', process_code varchar(64) comment '工序编码',
process_name varchar(255) comment '工序名称', process_name varchar(255) comment '工序名称',
warehouse_id bigint(20) comment '线边库ID',
warehouse_code varchar(64) comment '线边库编码',
warehouse_name varchar(255) comment '线边库名称',
location_id bigint(20) comment '库区ID',
location_code varchar(64) comment '库区编码',
location_name varchar(255) comment '库区名称',
area_id bigint(20) comment '库位ID',
area_code varchar(64) comment '库位编码',
area_name varchar(255) comment '库位名称',
enable_flag char(1) default 'Y' not null comment '是否启用', enable_flag char(1) default 'Y' not null comment '是否启用',
remark varchar(500) default '' comment '备注', remark varchar(500) default '' comment '备注',
attr1 varchar(64) default null comment '预留字段1', attr1 varchar(64) default null comment '预留字段1',

View File

@ -34,7 +34,7 @@ create table wm_storage_location (
location_name varchar(255) not null comment '库区名称', location_name varchar(255) not null comment '库区名称',
warehouse_id bigint(20) not null comment '仓库ID', warehouse_id bigint(20) not null comment '仓库ID',
area double(12,2) comment '面积', area double(12,2) comment '面积',
area_flag char(1) default 'N' comment '是否开启库位管理', area_flag char(1) default 'Y' comment '是否开启库位管理',
remark varchar(500) default '' comment '备注', remark varchar(500) default '' comment '备注',
attr1 varchar(64) default null comment '预留字段1', attr1 varchar(64) default null comment '预留字段1',
attr2 varchar(255) default null comment '预留字段2', attr2 varchar(255) default null comment '预留字段2',