Skip to content

Commit e19cbdc

Browse files
authored
Merge pull request #3104 from FOCONIS/dbmigration-fixes
Fixed DbMigration classes (put them in the right place)
2 parents 462d30b + 3e2e84e commit e19cbdc

File tree

130 files changed

+517
-486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+517
-486
lines changed

ebean-test/src/test/java/io/ebean/xtest/dbmigration/DbMigrationTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,14 @@ public void testRunMigration() throws IOException, SQLException {
8383
"`migtest_QuOtEd`",
8484
"migtest_QuOtEd",
8585
"\"migtest_QuOtEd\"",
86+
"drop_main_drop_ref_many",
87+
"drop_ref_many",
88+
"drop_ref_one",
89+
"drop_main",
8690
"table",
8791
"\"table\"",
8892
"`table`");
93+
8994
((DataSourcePool)server().dataSource()).offline();
9095
((DataSourcePool)server().dataSource()).online();
9196

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
The migration dir contains 3 folders `v1_0`, `v1_1`, `v1_2`.
2+
3+
The general idea is, that we try to perform a migration (=`v1.0` -> `v1.1`) and also if it is revertable (= `v1.1` -> `v1.0`)
4+
5+
To achieve that, the directories `v1_0` and `v1_2` should be as equal as possible. Annomalies should be commented.
6+
7+
It is also important, if new models are added, that all table names (also for M2M) are added in the `DbMigrationTest`
8+
cleanup routine.
9+
10+

ebean-test/src/test/java/misc/migration/v1_0/DropMain.java renamed to ebean-test/src/test/java/misc/migration/v1_1/DropMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package misc.migration.v1_0;
1+
package misc.migration.v1_1;
22

33
import javax.persistence.*;
44
import java.util.List;

ebean-test/src/test/java/misc/migration/v1_0/DropRefMany.java renamed to ebean-test/src/test/java/misc/migration/v1_1/DropRefMany.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
package misc.migration.v1_0;
1+
package misc.migration.v1_1;
22

33
import javax.persistence.Entity;
44
import javax.persistence.Id;
55
import javax.persistence.ManyToMany;
6-
import javax.persistence.ManyToOne;
76
import javax.persistence.Table;
87
import java.util.List;
98

ebean-test/src/test/java/misc/migration/v1_0/DropRefOne.java renamed to ebean-test/src/test/java/misc/migration/v1_1/DropRefOne.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package misc.migration.v1_0;
1+
package misc.migration.v1_1;
22

33
import javax.persistence.Entity;
44
import javax.persistence.Id;

ebean-test/src/test/java/misc/migration/v1_2/EBasic.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
@Entity
1313
@Table(name = "migtest_e_basic")
14+
// Note: tablespaces are currently only supported for DB2
15+
// to be prepared for future (when we support sql server filegroups),
16+
// we allow to specify the DB-platform here
17+
@Tablespace(value = "db2;TSTABLES;", index = "db2;INDEXTS;")
1418
public class EBasic {
1519

1620
public enum Status {
@@ -86,7 +90,7 @@ public enum Status {
8690
String indextest6;
8791

8892
@NotNull
89-
@DbDefault("23")
93+
@DbDefault("23") // required for revert
9094
int user_id;
9195

9296
public EBasic() {

ebean-test/src/test/java/misc/migration/v1_2/EHistory6.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ public class EHistory6 {
2121
Integer testNumber1;
2222

2323
@NotNull
24-
@DbDefault("7")
24+
@DbDefault("7") // required for revert
2525
Integer testNumber2;
2626
}

ebean-test/src/test/java/misc/migration/v1_2/ETable.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,13 @@ public class ETable {
4545

4646
@OneToMany(mappedBy = "foreign")
4747
List<ETable> foreigns;
48+
49+
// @NotNull
50+
// @DbDefault("")
51+
// private String textfield;
52+
// FIXME: MariaDb produces an invalid quoted statement. We would need to fix quotes here.
53+
// but using reserved names for tables is a bad idea IMHO
54+
// actual: update "table" set textfield = '' where textfield is null;
55+
// expected: update `table` set textfield = '' where textfield is null;
56+
4857
}

ebean-test/src/test/resources/migrationtest/dbmigration/clickhouse/1.2__dropsFor_1.1.sql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,5 @@ alter table migtest_e_basic drop column eref_id;
77
alter table migtest_e_history2 drop column obsolete_string1;
88
alter table migtest_e_history2 drop column obsolete_string2;
99
-- apply post alter
10-
drop table if exists drop_main;
11-
drop table if exists drop_main_drop_ref_many;
12-
drop table if exists drop_ref_many;
13-
drop table if exists drop_ref_one;
1410
drop table if exists "migtest_QuOtEd";
1511
drop table if exists migtest_e_ref;

ebean-test/src/test/resources/migrationtest/dbmigration/clickhouse/1.4__dropsFor_1.3.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ alter table migtest_e_history5 drop column test_boolean;
1717
alter table migtest_e_softdelete drop column deleted;
1818
alter table migtest_oto_child drop column master_id;
1919
-- apply post alter
20+
drop table if exists drop_main;
21+
drop table if exists drop_main_drop_ref_many;
22+
drop table if exists drop_ref_many;
23+
drop table if exists drop_ref_one;
2024
drop table if exists migtest_e_user;
2125
drop table if exists migtest_mtm_c_migtest_mtm_m;
2226
drop table if exists migtest_mtm_m_migtest_mtm_c;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
1672735407, 1.0__initial.sql
22
540706946, 1.1.sql
3-
-875723380, 1.2__dropsFor_1.1.sql
3+
688811494, 1.2__dropsFor_1.1.sql
44
1015552567, 1.3.sql
5-
255653518, 1.4__dropsFor_1.3.sql
5+
677297367, 1.4__dropsFor_1.3.sql
66

ebean-test/src/test/resources/migrationtest/dbmigration/cockroach/1.1.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ alter table migtest_e_basic drop constraint if exists ck_migtest_e_basic_status2
77
drop index uq_migtest_e_basic_indextest2 cascade;
88
drop index uq_migtest_e_basic_indextest6 cascade;
99
alter table migtest_e_enum drop constraint if exists ck_migtest_e_enum_test_status;
10-
alter table if exists drop_main_drop_ref_many drop constraint if exists fk_drop_main_drop_ref_many_drop_main;
11-
alter table if exists drop_main_drop_ref_many drop constraint if exists fk_drop_main_drop_ref_many_drop_ref_many;
12-
alter table if exists drop_ref_one drop constraint if exists fk_drop_ref_one_parent_id;
1310
drop index if exists ix_migtest_e_basic_indextest1;
1411
drop index if exists ix_migtest_e_basic_indextest5;
1512
drop index if exists ix_migtest_quoted_status1;

ebean-test/src/test/resources/migrationtest/dbmigration/cockroach/1.2__dropsFor_1.1.sql

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ alter table migtest_e_basic drop column eref_id;
77
alter table migtest_e_history2 drop column obsolete_string1;
88
alter table migtest_e_history2 drop column obsolete_string2;
99
-- apply post alter
10-
drop table if exists drop_main cascade;
11-
drop sequence if exists drop_main_seq;
12-
drop table if exists drop_main_drop_ref_many cascade;
13-
drop table if exists drop_ref_many cascade;
14-
drop sequence if exists drop_ref_many_seq;
15-
drop table if exists drop_ref_one cascade;
16-
drop sequence if exists drop_ref_one_seq;
1710
drop table if exists "migtest_QuOtEd" cascade;
1811
drop table if exists migtest_e_ref cascade;
1912
drop sequence if exists migtest_e_ref_seq;

ebean-test/src/test/resources/migrationtest/dbmigration/cockroach/1.3.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ drop index uq_migtest_e_basic_name cascade;
1414
drop index uq_migtest_e_basic_indextest4 cascade;
1515
drop index uq_migtest_e_basic_indextest5 cascade;
1616
alter table migtest_e_enum drop constraint if exists ck_migtest_e_enum_test_status;
17+
alter table if exists drop_main_drop_ref_many drop constraint if exists fk_drop_main_drop_ref_many_drop_main;
18+
alter table if exists drop_main_drop_ref_many drop constraint if exists fk_drop_main_drop_ref_many_drop_ref_many;
19+
alter table if exists drop_ref_one drop constraint if exists fk_drop_ref_one_parent_id;
1720
alter table if exists migtest_mtm_c_migtest_mtm_m drop constraint if exists fk_migtest_mtm_c_migtest_mtm_m_migtest_mtm_c;
1821
alter table if exists migtest_mtm_c_migtest_mtm_m drop constraint if exists fk_migtest_mtm_c_migtest_mtm_m_migtest_mtm_m;
1922
alter table if exists migtest_mtm_m_migtest_mtm_c drop constraint if exists fk_migtest_mtm_m_migtest_mtm_c_migtest_mtm_m;

ebean-test/src/test/resources/migrationtest/dbmigration/cockroach/1.4__dropsFor_1.3.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ alter table migtest_e_history5 drop column test_boolean;
1717
alter table migtest_e_softdelete drop column deleted;
1818
alter table migtest_oto_child drop column master_id;
1919
-- apply post alter
20+
drop table if exists drop_main cascade;
21+
drop sequence if exists drop_main_seq;
22+
drop table if exists drop_main_drop_ref_many cascade;
23+
drop table if exists drop_ref_many cascade;
24+
drop sequence if exists drop_ref_many_seq;
25+
drop table if exists drop_ref_one cascade;
26+
drop sequence if exists drop_ref_one_seq;
2027
drop table if exists migtest_e_user cascade;
2128
drop sequence if exists migtest_e_user_seq;
2229
drop table if exists migtest_mtm_c_migtest_mtm_m cascade;
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
1867456246, 1.0__initial.sql
2-
-412570267, 1.1.sql
3-
395394572, 1.2__dropsFor_1.1.sql
4-
-861259583, 1.3.sql
5-
-971909974, 1.4__dropsFor_1.3.sql
2+
1284257915, 1.1.sql
3+
856096334, 1.2__dropsFor_1.1.sql
4+
-279468991, 1.3.sql
5+
2137365848, 1.4__dropsFor_1.3.sql
66
561281075, R__order_views.sql
77

ebean-test/src/test/resources/migrationtest/dbmigration/db2fori/1.1.sql

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -65,27 +65,6 @@ end if;
6565
end$$;
6666
delimiter $$
6767
begin
68-
if exists (select constname from syscat.tabconst where tabschema = current_schema and ucase(constname) = 'FK_DROP_MAIN_DROP_REF_MANY_DROP_MAIN' and ucase(tabname) = 'DROP_MAIN_DROP_REF_MANY') then
69-
prepare stmt from 'alter table drop_main_drop_ref_many drop constraint fk_drop_main_drop_ref_many_drop_main';
70-
execute stmt;
71-
end if;
72-
end$$;
73-
delimiter $$
74-
begin
75-
if exists (select constname from syscat.tabconst where tabschema = current_schema and ucase(constname) = 'FK_DROP_MAIN_DROP_REF_MANY_DROP_REF_MANY' and ucase(tabname) = 'DROP_MAIN_DROP_REF_MANY') then
76-
prepare stmt from 'alter table drop_main_drop_ref_many drop constraint fk_drop_main_drop_ref_many_drop_ref_many';
77-
execute stmt;
78-
end if;
79-
end$$;
80-
delimiter $$
81-
begin
82-
if exists (select constname from syscat.tabconst where tabschema = current_schema and ucase(constname) = 'FK_DROP_REF_ONE_PARENT_ID' and ucase(tabname) = 'DROP_REF_ONE') then
83-
prepare stmt from 'alter table drop_ref_one drop constraint fk_drop_ref_one_parent_id';
84-
execute stmt;
85-
end if;
86-
end$$;
87-
delimiter $$
88-
begin
8968
if exists (select indname from syscat.indexes where indschema = current_schema and ucase(indname) = 'IX_MIGTEST_E_BASIC_INDEXTEST1') then
9069
prepare stmt from 'drop index ix_migtest_e_basic_indextest1';
9170
execute stmt;

ebean-test/src/test/resources/migrationtest/dbmigration/db2fori/1.2__dropsFor_1.1.sql

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,6 @@ alter table migtest_e_history2_history drop column obsolete_string2;
1515
call sysproc.admin_cmd('reorg table migtest_e_history2_history');
1616
-- apply post alter
1717
alter table migtest_e_history2 add versioning use history table migtest_e_history2_history;
18-
drop table drop_main;
19-
delimiter $$
20-
begin
21-
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'DROP_MAIN_SEQ') then
22-
prepare stmt from 'drop sequence drop_main_seq';
23-
execute stmt;
24-
end if;
25-
end$$;
26-
drop table drop_main_drop_ref_many;
27-
drop table drop_ref_many;
28-
delimiter $$
29-
begin
30-
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'DROP_REF_MANY_SEQ') then
31-
prepare stmt from 'drop sequence drop_ref_many_seq';
32-
execute stmt;
33-
end if;
34-
end$$;
35-
drop table drop_ref_one;
36-
delimiter $$
37-
begin
38-
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'DROP_REF_ONE_SEQ') then
39-
prepare stmt from 'drop sequence drop_ref_one_seq';
40-
execute stmt;
41-
end if;
42-
end$$;
4318
drop table "migtest_QuOtEd";
4419
drop table migtest_e_ref;
4520
delimiter $$

ebean-test/src/test/resources/migrationtest/dbmigration/db2fori/1.3.sql

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,27 @@ end if;
135135
end$$;
136136
delimiter $$
137137
begin
138+
if exists (select constname from syscat.tabconst where tabschema = current_schema and ucase(constname) = 'FK_DROP_MAIN_DROP_REF_MANY_DROP_MAIN' and ucase(tabname) = 'DROP_MAIN_DROP_REF_MANY') then
139+
prepare stmt from 'alter table drop_main_drop_ref_many drop constraint fk_drop_main_drop_ref_many_drop_main';
140+
execute stmt;
141+
end if;
142+
end$$;
143+
delimiter $$
144+
begin
145+
if exists (select constname from syscat.tabconst where tabschema = current_schema and ucase(constname) = 'FK_DROP_MAIN_DROP_REF_MANY_DROP_REF_MANY' and ucase(tabname) = 'DROP_MAIN_DROP_REF_MANY') then
146+
prepare stmt from 'alter table drop_main_drop_ref_many drop constraint fk_drop_main_drop_ref_many_drop_ref_many';
147+
execute stmt;
148+
end if;
149+
end$$;
150+
delimiter $$
151+
begin
152+
if exists (select constname from syscat.tabconst where tabschema = current_schema and ucase(constname) = 'FK_DROP_REF_ONE_PARENT_ID' and ucase(tabname) = 'DROP_REF_ONE') then
153+
prepare stmt from 'alter table drop_ref_one drop constraint fk_drop_ref_one_parent_id';
154+
execute stmt;
155+
end if;
156+
end$$;
157+
delimiter $$
158+
begin
138159
if exists (select constname from syscat.tabconst where tabschema = current_schema and ucase(constname) = 'FK_MIGTEST_MTM_C_MIGTEST_MTM_M_MIGTEST_MTM_C' and ucase(tabname) = 'MIGTEST_MTM_C_MIGTEST_MTM_M') then
139160
prepare stmt from 'alter table migtest_mtm_c_migtest_mtm_m drop constraint fk_migtest_mtm_c_migtest_mtm_m_migtest_mtm_c';
140161
execute stmt;
@@ -211,6 +232,7 @@ update migtest_e_basic set status2 = 'N' where status2 is null;
211232
update migtest_e_basic set a_lob = 'X' where a_lob is null;
212233

213234
update migtest_e_basic set user_id = 23 where user_id is null;
235+
CALL SYSPROC.ADMIN_MOVE_TABLE(CURRENT_SCHEMA,'MIGTEST_E_BASIC','TSTABLES','INDEXTS','TSTABLES','','','','','','MOVE');
214236
alter table migtest_e_history2 drop versioning;
215237
alter table migtest_e_history3 drop versioning;
216238
alter table migtest_e_history4 drop versioning;

ebean-test/src/test/resources/migrationtest/dbmigration/db2fori/1.4__dropsFor_1.3.sql

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,31 @@ drop table migtest_e_history_history;
4848
alter table migtest_e_history2 add versioning use history table migtest_e_history2_history;
4949
alter table migtest_e_history5 add versioning use history table migtest_e_history5_history;
5050
alter table "table" add versioning use history table table_history;
51+
drop table drop_main;
52+
delimiter $$
53+
begin
54+
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'DROP_MAIN_SEQ') then
55+
prepare stmt from 'drop sequence drop_main_seq';
56+
execute stmt;
57+
end if;
58+
end$$;
59+
drop table drop_main_drop_ref_many;
60+
drop table drop_ref_many;
61+
delimiter $$
62+
begin
63+
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'DROP_REF_MANY_SEQ') then
64+
prepare stmt from 'drop sequence drop_ref_many_seq';
65+
execute stmt;
66+
end if;
67+
end$$;
68+
drop table drop_ref_one;
69+
delimiter $$
70+
begin
71+
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'DROP_REF_ONE_SEQ') then
72+
prepare stmt from 'drop sequence drop_ref_one_seq';
73+
execute stmt;
74+
end if;
75+
end$$;
5176
drop table migtest_e_user;
5277
delimiter $$
5378
begin
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-283216660, 1.0__initial.sql
2-
1120848440, 1.1.sql
3-
135256939, 1.2__dropsFor_1.1.sql
4-
-2139056187, 1.3.sql
5-
946163478, 1.4__dropsFor_1.3.sql
2+
-184000413, 1.1.sql
3+
-1187336846, 1.2__dropsFor_1.1.sql
4+
-1811865535, 1.3.sql
5+
-1255430844, 1.4__dropsFor_1.3.sql
66
561281075, R__order_views.sql
77

ebean-test/src/test/resources/migrationtest/dbmigration/db2legacy/1.1.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ alter table migtest_e_basic drop constraint if exists ck_migtest_e_basic_status2
77
alter table migtest_e_basic drop constraint uq_migtest_e_basic_indextest2;
88
alter table migtest_e_basic drop constraint uq_migtest_e_basic_indextest6;
99
alter table migtest_e_enum drop constraint if exists ck_migtest_e_enum_test_status;
10-
alter table drop_main_drop_ref_many drop constraint if exists fk_drop_main_drop_ref_many_drop_main;
11-
alter table drop_main_drop_ref_many drop constraint if exists fk_drop_main_drop_ref_many_drop_ref_many;
12-
alter table drop_ref_one drop constraint if exists fk_drop_ref_one_parent_id;
1310
drop index if exists ix_migtest_e_basic_indextest1;
1411
drop index if exists ix_migtest_e_basic_indextest5;
1512
drop index if exists ix_migtest_quoted_status1;

ebean-test/src/test/resources/migrationtest/dbmigration/db2legacy/1.2__dropsFor_1.1.sql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,5 @@ alter table migtest_e_basic drop column eref_id;
77
alter table migtest_e_history2 drop column obsolete_string1;
88
alter table migtest_e_history2 drop column obsolete_string2;
99
-- apply post alter
10-
drop table if exists drop_main;
11-
drop table if exists drop_main_drop_ref_many;
12-
drop table if exists drop_ref_many;
13-
drop table if exists drop_ref_one;
1410
drop table if exists "migtest_QuOtEd";
1511
drop table if exists migtest_e_ref;

ebean-test/src/test/resources/migrationtest/dbmigration/db2legacy/1.3.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ alter table migtest_e_basic drop constraint uq_migtest_e_basic_name;
1414
alter table migtest_e_basic drop constraint uq_migtest_e_basic_indextest4;
1515
alter table migtest_e_basic drop constraint uq_migtest_e_basic_indextest5;
1616
alter table migtest_e_enum drop constraint if exists ck_migtest_e_enum_test_status;
17+
alter table drop_main_drop_ref_many drop constraint if exists fk_drop_main_drop_ref_many_drop_main;
18+
alter table drop_main_drop_ref_many drop constraint if exists fk_drop_main_drop_ref_many_drop_ref_many;
19+
alter table drop_ref_one drop constraint if exists fk_drop_ref_one_parent_id;
1720
alter table migtest_mtm_c_migtest_mtm_m drop constraint if exists fk_migtest_mtm_c_migtest_mtm_m_migtest_mtm_c;
1821
alter table migtest_mtm_c_migtest_mtm_m drop constraint if exists fk_migtest_mtm_c_migtest_mtm_m_migtest_mtm_m;
1922
alter table migtest_mtm_m_migtest_mtm_c drop constraint if exists fk_migtest_mtm_m_migtest_mtm_c_migtest_mtm_m;

ebean-test/src/test/resources/migrationtest/dbmigration/db2legacy/1.4__dropsFor_1.3.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ alter table migtest_e_history5 drop column test_boolean;
1717
alter table migtest_e_softdelete drop column deleted;
1818
alter table migtest_oto_child drop column master_id;
1919
-- apply post alter
20+
drop table if exists drop_main;
21+
drop table if exists drop_main_drop_ref_many;
22+
drop table if exists drop_ref_many;
23+
drop table if exists drop_ref_one;
2024
drop table if exists migtest_e_user;
2125
drop table if exists migtest_mtm_c_migtest_mtm_m;
2226
drop table if exists migtest_mtm_m_migtest_mtm_c;
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-528359263, 1.0__initial.sql
2-
-1374084944, 1.1.sql
3-
-875723380, 1.2__dropsFor_1.1.sql
4-
-819139044, 1.3.sql
5-
255653518, 1.4__dropsFor_1.3.sql
2+
253988246, 1.1.sql
3+
688811494, 1.2__dropsFor_1.1.sql
4+
674925120, 1.3.sql
5+
677297367, 1.4__dropsFor_1.3.sql
66

0 commit comments

Comments
 (0)