| | |
| | | |
| | | -- changeset zsh:20240904001 |
| | | -- preconditions onFail:CONTINUE onError:CONTINUE |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sys_dict_type'; |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sys_dict_type' and table_schema = 'hangzhoumes'; |
| | | CREATE TABLE sys_dict_type |
| | | ( |
| | | dict_id INT AUTO_INCREMENT PRIMARY KEY, |
| | |
| | | |
| | | -- changeset zsh:20240904002 |
| | | -- preconditions onFail:CONTINUE onError:CONTINUE |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sys_dict_data'; |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sys_dict_data' and table_schema = 'hangzhoumes'; |
| | | CREATE TABLE sys_dict_data |
| | | ( |
| | | dict_id INT AUTO_INCREMENT PRIMARY KEY, |
| | |
| | | |
| | | -- changeset wangfei:20240918001 |
| | | -- preconditions onFail:CONTINUE onError:CONTINUE |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'raw_glass_storage_details'; |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'raw_glass_storage_details' and table_schema = 'hangzhoumes'; |
| | | CREATE TABLE raw_glass_storage_details |
| | | ( |
| | | id bigint NOT NULL AUTO_INCREMENT, |
| | | device_id int NULL DEFAULT NULL COMMENT '设备id', |
| | | slot_id varchar(255) NULL DEFAULT NULL COMMENT '格子id', |
| | | pattern_width double(8, 2 |
| | | ) NULL DEFAULT NULL COMMENT '原片宽', |
| | | pattern_height double(8, 2) NULL DEFAULT NULL COMMENT '原片高', |
| | | id bigint NOT NULL AUTO_INCREMENT, |
| | | device_id int NULL DEFAULT NULL COMMENT '设备id', |
| | | slot_id varchar(255) NULL DEFAULT NULL COMMENT '格子id', |
| | | pattern_width double(8, 2) NULL DEFAULT NULL COMMENT '原片宽', |
| | | pattern_height double(8, 2) NULL DEFAULT NULL COMMENT '原片高', |
| | | pattern_thickness double(8, 2) NULL DEFAULT NULL COMMENT '原片厚度', |
| | | films_id varchar(255) NULL DEFAULT NULL COMMENT '膜系', |
| | | create_time datetime NOT NULL COMMENT '创建时间', |
| | | remain_quantity varchar(255) NULL DEFAULT NULL COMMENT '剩余数量', |
| | | films_id varchar(255) NULL DEFAULT NULL COMMENT '膜系', |
| | | create_time datetime NOT NULL COMMENT '创建时间', |
| | | remain_quantity varchar(255) NULL DEFAULT NULL COMMENT '剩余数量', |
| | | PRIMARY KEY (id) USING BTREE |
| | | ); |
| | | -- rollback DROP TABLE raw_glass_storage_details; |
| | | |
| | | |
| | | -- changeset wangfei:20240918002 |
| | | -- preconditions onFail:CONTINUE onError:CONTINUE |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'raw_glass_storage_station'; |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'raw_glass_storage_station' and table_schema = 'hangzhoumes'; |
| | | CREATE TABLE raw_glass_storage_station |
| | | ( |
| | | id bigint NOT NULL AUTO_INCREMENT, |
| | |
| | | |
| | | -- changeset wangfei:20240918003 |
| | | -- preconditions onFail:CONTINUE onError:CONTINUE |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'raw_glass_storage_task'; |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'raw_glass_storage_task' and table_schema = 'hangzhoumes'; |
| | | CREATE TABLE raw_glass_storage_task |
| | | ( |
| | | id bigint NOT NULL AUTO_INCREMENT, |