[BAEL4288] small fixes

This commit is contained in:
Adrian Maghear 2020-07-17 15:32:41 +02:00
parent dcd3e80ac5
commit c53f498e12
11 changed files with 11 additions and 12 deletions

View File

@ -1,3 +1,2 @@
### Relevant Articles:
- [Database Migrations with Flyway](http://www.baeldung.com/database-migrations-with-flyway)
- [A Guide to Flyway Callbacks](http://www.baeldung.com/flyway-callbacks)
- [Flyway Repair With Spring Boot](http://www.baeldung.com/flyway-repair-with-spring-boot)

View File

@ -1 +1 @@
POSTGRES_PORT=5431
POSTGRES_PORT=5431

View File

@ -12,4 +12,4 @@ services:
networks:
baeldung:
driver: bridge
driver: bridge

View File

@ -1 +1 @@
spring.flyway.locations=classpath:db/migration,classpath:db/callback
spring.flyway.locations=classpath:db/migration,classpath:db/callback

View File

@ -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.user=testuser
flyway.password=password
flyway.password=password

View File

@ -1,3 +1,3 @@
flyway.url=jdbc:postgresql://127.0.0.1:5431/testdb
flyway.user=testuser
flyway.password=password
flyway.password=password

View File

@ -1 +1 @@
DELETE FROM flyway_schema_history WHERE success=false;
DELETE FROM flyway_schema_history WHERE success=false;

View File

@ -1,3 +1,3 @@
create table table_one (
id numeric primary key
);
);

View File

@ -1,3 +1,3 @@
create table table_two (
id numeric primary key
);
);

View File

@ -1,3 +1,3 @@
create table table_three (
id numeric primary key
);
);

View File

@ -1,3 +1,3 @@
create table table_four (
id numeric primary key
);
);