diff --git a/src/main/resources/db/changelog/changes/20260430_01_2fi/01_create_logistic_and_alter_truck.sql b/src/main/resources/db/changelog/changes/20260430_01_2fi/01_create_logistic_and_alter_truck.sql index 9f4e7c8..b242c5d 100644 --- a/src/main/resources/db/changelog/changes/20260430_01_2fi/01_create_logistic_and_alter_truck.sql +++ b/src/main/resources/db/changelog/changes/20260430_01_2fi/01_create_logistic_and_alter_truck.sql @@ -1,5 +1,7 @@ -- liquibase formatted sql -- changeset 2fi:20260430_01_create_logistic +-- preconditions onFail:MARK_RAN +-- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = DATABASE() AND table_name = 'logistic' CREATE TABLE `logistic` ( @@ -18,6 +20,8 @@ CREATE TABLE `logistic` ); -- changeset 2fi:20260430_02_truck_district_reference_to_string +-- preconditions onFail:MARK_RAN +-- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM information_schema.columns WHERE table_schema = DATABASE() AND table_name = 'truck' AND column_name = 'districtReference' AND data_type = 'varchar' AND character_maximum_length = 255 ALTER TABLE `truck` MODIFY COLUMN `districtReference` VARCHAR(255) NULL;