Hack to force Flyway to initialize early

This commit is contained in:
Dave Syer
2014-05-17 09:17:01 +01:00
parent 341ca38d56
commit 2cc5bdfa09
3 changed files with 26 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
spring.jpa.generate-ddl: false
spring.jpa.hibernate.ddl-auto: none
spring.jpa.hibernate.ddl-auto: validate

View File

@@ -1,5 +1,5 @@
CREATE TABLE PERSON (
id INTEGER GENERATED BY DEFAULT AS IDENTITY,
id BIGINT GENERATED BY DEFAULT AS IDENTITY,
first_name varchar(255) not null,
last_name varchar(255) not null
);