From e2a14897432d264b41764534d6ea3c1e43150642 Mon Sep 17 00:00:00 2001 From: rob bygrave Date: Thu, 10 Oct 2019 15:26:50 +1300 Subject: [PATCH] Fix DbMigration test for MySql without I__create_procs.sql --- .../dbmigration/migrationtest/mysql/1.2__dropsFor_1.1.sql | 1 + .../dbmigration/migrationtest/mysql/1.4__dropsFor_1.3.sql | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/test/resources/dbmigration/migrationtest/mysql/1.2__dropsFor_1.1.sql b/src/test/resources/dbmigration/migrationtest/mysql/1.2__dropsFor_1.1.sql index b3317f701..36f282f12 100644 --- a/src/test/resources/dbmigration/migrationtest/mysql/1.2__dropsFor_1.1.sql +++ b/src/test/resources/dbmigration/migrationtest/mysql/1.2__dropsFor_1.1.sql @@ -7,6 +7,7 @@ alter table migtest_e_basic drop column old_boolean; alter table migtest_e_basic drop column old_boolean2; +alter table migtest_e_basic drop foreign key fk_migtest_e_basic_eref_id; alter table migtest_e_basic drop column eref_id; alter table migtest_e_history2 drop column obsolete_string1; diff --git a/src/test/resources/dbmigration/migrationtest/mysql/1.4__dropsFor_1.3.sql b/src/test/resources/dbmigration/migrationtest/mysql/1.4__dropsFor_1.3.sql index ff8fa50d0..b6c3d8d27 100644 --- a/src/test/resources/dbmigration/migrationtest/mysql/1.4__dropsFor_1.3.sql +++ b/src/test/resources/dbmigration/migrationtest/mysql/1.4__dropsFor_1.3.sql @@ -15,6 +15,7 @@ alter table migtest_ckey_detail drop column one_key; alter table migtest_ckey_detail drop column two_key; +alter table migtest_ckey_parent drop foreign key fk_migtest_ckey_parent_assoc_id; alter table migtest_ckey_parent drop column assoc_id; alter table migtest_e_basic drop column new_string_field; @@ -41,6 +42,7 @@ alter table migtest_e_history5_history drop column test_boolean; alter table migtest_e_softdelete drop column deleted; +alter table migtest_oto_child drop foreign key fk_migtest_oto_child_master_id; alter table migtest_oto_child drop column master_id; drop table if exists migtest_e_user;