[BAEL4288] small fixes
This commit is contained in:
@@ -1,3 +1,2 @@
|
|||||||
### Relevant Articles:
|
### Relevant Articles:
|
||||||
- [Database Migrations with Flyway](http://www.baeldung.com/database-migrations-with-flyway)
|
- [Flyway Repair With Spring Boot](http://www.baeldung.com/flyway-repair-with-spring-boot)
|
||||||
- [A Guide to Flyway Callbacks](http://www.baeldung.com/flyway-callbacks)
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
POSTGRES_PORT=5431
|
POSTGRES_PORT=5431
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ services:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
baeldung:
|
baeldung:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
spring.flyway.locations=classpath:db/migration,classpath:db/callback
|
spring.flyway.locations=classpath:db/migration,classpath:db/callback
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
flyway.url=jdbc:h2:file:./testdb;DB_CLOSE_ON_EXIT=FALSE;AUTO_RECONNECT=TRUE;MODE=MySQL;DATABASE_TO_UPPER=false;
|
flyway.url=jdbc:h2:file:./testdb;DB_CLOSE_ON_EXIT=FALSE;AUTO_RECONNECT=TRUE;MODE=MySQL;DATABASE_TO_UPPER=false;
|
||||||
flyway.user=testuser
|
flyway.user=testuser
|
||||||
flyway.password=password
|
flyway.password=password
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
flyway.url=jdbc:postgresql://127.0.0.1:5431/testdb
|
flyway.url=jdbc:postgresql://127.0.0.1:5431/testdb
|
||||||
flyway.user=testuser
|
flyway.user=testuser
|
||||||
flyway.password=password
|
flyway.password=password
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
DELETE FROM flyway_schema_history WHERE success=false;
|
DELETE FROM flyway_schema_history WHERE success=false;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
create table table_one (
|
create table table_one (
|
||||||
id numeric primary key
|
id numeric primary key
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
create table table_two (
|
create table table_two (
|
||||||
id numeric primary key
|
id numeric primary key
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
create table table_three (
|
create table table_three (
|
||||||
id numeric primary key
|
id numeric primary key
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
create table table_four (
|
create table table_four (
|
||||||
id numeric primary key
|
id numeric primary key
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user