diff --git a/persistence-modules/flyway/db/out-of-order-migration/V1_0__create_city_table.sql b/persistence-modules/flyway/db/out-of-order-migration/V1_0__create_city_table.sql new file mode 100644 index 0000000000..1c45a12fac --- /dev/null +++ b/persistence-modules/flyway/db/out-of-order-migration/V1_0__create_city_table.sql @@ -0,0 +1,5 @@ +create table city ( + id numeric, + name varchar(50), + constraint pk_city primary key (id) +); \ No newline at end of file diff --git a/persistence-modules/flyway/db/out-of-order-migration/V1_1__add_zipcode_to_city.sql b/persistence-modules/flyway/db/out-of-order-migration/V1_1__add_zipcode_to_city.sql new file mode 100644 index 0000000000..a619097071 --- /dev/null +++ b/persistence-modules/flyway/db/out-of-order-migration/V1_1__add_zipcode_to_city.sql @@ -0,0 +1,3 @@ +alter table city add column ( + zip varchar(10) +); \ No newline at end of file diff --git a/persistence-modules/flyway/db/out-of-order-migration/V2_0__create_person_table.sql b/persistence-modules/flyway/db/out-of-order-migration/V2_0__create_person_table.sql new file mode 100644 index 0000000000..19aa5e2ac7 --- /dev/null +++ b/persistence-modules/flyway/db/out-of-order-migration/V2_0__create_person_table.sql @@ -0,0 +1,5 @@ +create table person ( + id numeric, + name varchar(50), + constraint pk_person primary key (id) +); \ No newline at end of file