chenhj
6 小时以前 e7fec9ecae7757284d676f41b2fe1b32943c0f25
数据表创建
已添加2个文件
已修改1个文件
24 ■■■■■ 文件已修改
doc/create_table_process_route.sql 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
doc/create_table_process_route_item.sql 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
doc/create_table_product_structure.sql 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
doc/create_table_process_route.sql
对比新文件
@@ -0,0 +1,11 @@
# 宸ヨ壓璺嚎
drop table if exists process_route;
create table process_route
(
    id          bigint auto_increment primary key,
    product_id  bigint       not null default 0 comment '浜у搧id',
    description varchar(255) not null default '' comment '鎻忚堪',
    tenant_id   bigint       not null comment '绉熸埛id',
    create_time datetime     null comment '褰曞叆鏃堕棿',
    update_time datetime     null comment '鏇存柊鏃堕棿'
);
doc/create_table_process_route_item.sql
对比新文件
@@ -0,0 +1,11 @@
# 宸ヨ壓璺嚎椤圭洰
drop table if exists process_route_item;
create table process_route_item
(
    id          bigint auto_increment primary key,
    route_id    bigint   not null default 0 comment '宸ヨ壓璺嚎id',
    product_id  bigint   not null default 0 comment '浜у搧id',
    tenant_id   bigint   not null comment '绉熸埛id',
    create_time datetime null comment '褰曞叆鏃堕棿',
    update_time datetime null comment '鏇存柊鏃堕棿'
);
doc/create_table_product_structure.sql
@@ -1,5 +1,5 @@
# 浜у搧缁撴瀯
drop table if exists production_product_structure;
drop table if exists product_structure;
create table product_structure
(
    id                 bigint auto_increment