fix init data with flyway and fix init data with flyway in docker-compose
This commit is contained in:
@@ -9,11 +9,14 @@ spring.datasource.password= postgrespw
|
||||
#spring.datasource.password=${SPRING_DATASOURCE_PASSWORD}
|
||||
|
||||
|
||||
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation= true
|
||||
#spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation= true
|
||||
spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.PostgreSQLDialect
|
||||
|
||||
# Hibernate ddl auto (create, create-drop, validate, update)
|
||||
spring.jpa.hibernate.ddl-auto= update
|
||||
#spring.jpa.hibernate.ddl-auto= update
|
||||
|
||||
spring.jpa.show-sql=true
|
||||
|
||||
|
||||
# App Properties
|
||||
app.jwtSecret= ======================spring=back====================
|
||||
@@ -33,9 +36,9 @@ spa.default-file=classpath:/public/browser/index.html
|
||||
|
||||
spring.docker.compose.file=../Docker/docker-compose.yml
|
||||
|
||||
spring.flyway.locations=classpath:db.migration
|
||||
spring.flyway.baseline-on-migrate=true
|
||||
spring.flyway.validate-on-migrate=true
|
||||
|
||||
flyway.user=admin
|
||||
flyway.password=postgrespw
|
||||
flyway.schemas=jambotronDB
|
||||
flyway.url=jdbc:postgresql://localhost:5432/jambotronDB
|
||||
spring.flyway.user=admin
|
||||
spring.flyway.password=postgrespw
|
||||
spring.flyway.url=jdbc:postgresql://localhost:5432/jambotronDB
|
||||
Reference in New Issue
Block a user