...
Here is an example how the files are located:
...
Usage example
First you need to fill in the configuration data
Code Block | ||||
---|---|---|---|---|
| ||||
postgres:
enabled: false
name: "POSTGRES"
driverClassName: "org.postgresql.Driver"
jdbcUrl: "jdbc:postgresql://localhost:5432/playground_db"
locationMigration: "classpath:db/migration/postgres"
propertyPath: "postgres.jdbcUrl"
users:
runtime: "playground"
flyway: "playground"
passwords:
runtime: "playground"
flyway: "playground"
hikari:
connectionTimeout: 45000
idleTimeout: 60000
maxLifetime: 180000
maximumPoolSize: 50
minimumIdle: 5
connectionInitSql: "SELECT 1"
connectionTestQuery: "SELECT 1"
poolName: "core-postgres-db-pool"
autoCommit: true |
After generation, this class with can be reused throughout the project
...