fix init data with flyway and fix init data with flyway in docker-compose

This commit is contained in:
liosha84
2025-06-17 17:26:21 +03:00
parent 426717cb99
commit 271de2e3c0
14 changed files with 148 additions and 107 deletions
+10 -7
View File
@@ -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