| 对比新文件 |
| | |
| | | # 宸ヨ壓璺嚎 |
| | | 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 '鏇存柊鏃堕棿' |
| | | ); |
| 对比新文件 |
| | |
| | | # 宸ヨ壓璺嚎椤圭洰 |
| | | 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 '鏇存柊鏃堕棿' |
| | | ); |
| | |
| | | # 浜у搧缁撴瀯 |
| | | drop table if exists production_product_structure; |
| | | drop table if exists product_structure; |
| | | create table product_structure |
| | | ( |
| | | id bigint auto_increment |