Skip to content

Commit

Permalink
Properties
Browse files Browse the repository at this point in the history
- Agregado variable "FLYWAY_DEFAULT_SCHEMA".
  • Loading branch information
nmarulo committed Nov 16, 2024
1 parent 39fa261 commit 834934b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/resources/application-production.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ spring.jpa.show-sql=false
spring.jpa.properties.hibernate.format_sql=false
spring.flyway.locations=classpath:db/migration/{vendor}
spring.flyway.baseline-on-migrate=true
spring.flyway.default-schema=${FLYWAY_DEFAULT_SCHEMA}
# Application properties
app.security.jwt.secret=${APP_SECURITY_JWT_SECRET}
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spring.jpa.hibernate.ddl-auto=validate
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.flyway.locations=classpath:db/migration/{vendor},classpath:dev/db/migration/{vendor}
spring.flyway.default-schema=despensa_app
spring.flyway.default-schema=${FLYWAY_DEFAULT_SCHEMA:despensa_app}
# Springdoc - OpenAPI specification properties
springdoc.api-docs.path=/api-docs
springdoc.default-produces-media-type=application/json
Expand Down

0 comments on commit 834934b

Please sign in to comment.