# Datasource default
quarkus.datasource.url=jdbc:h2:tcp://localhost/mem:test_quarkus;DB_CLOSE_DELAY=-1
quarkus.datasource.driver=org.h2.Driver
quarkus.datasource.username=sa
quarkus.datasource.password=sa

# Datasource for "users"
quarkus.datasource.users.driver=org.h2.Driver
quarkus.datasource.users.url=jdbc:h2:tcp://localhost/mem:users
quarkus.datasource.users.username=username1
quarkus.datasource.users.min-size=1
quarkus.datasource.users.max-size=11
quarkus.datasource.users.xa=false

# Datasource for "inventory"
quarkus.datasource.inventory.driver=org.h2.jdbcx.JdbcDataSource
quarkus.datasource.inventory.url=jdbc:h2:tcp://localhost/mem:inventory
quarkus.datasource.inventory.username=username2
quarkus.datasource.inventory.min-size=2
quarkus.datasource.inventory.max-size=12
quarkus.datasource.inventory.xa=true

# Flyway configuration for default datasource
quarkus.flyway.connect-retries=10
quarkus.flyway.schemas=TEST_SCHEMA
quarkus.flyway.table=flyway_quarkus_history
quarkus.flyway.locations=db/location1,db/location2
quarkus.flyway.sql-migration-prefix=X
quarkus.flyway.repeatable-sql-migration-prefix=K
quarkus.flyway.migrate-at-start=false
quarkus.flyway.baseline-on-migrate=true
quarkus.flyway.baseline-version=2.0.1
quarkus.flyway.baseline-description=Initial description

# Flyway configuration for "users" datasource
quarkus.flyway.users.connect-retries=11
quarkus.flyway.users.schemas=USERS_TEST_SCHEMA
quarkus.flyway.users.table=users_flyway_quarkus_history
quarkus.flyway.users.locations=db/users/location1,db/users/location2
quarkus.flyway.users.sql-migration-prefix=U
quarkus.flyway.users.repeatable-sql-migration-prefix=S
quarkus.flyway.users.migrate-at-start=false
quarkus.flyway.users.baseline-on-migrate=true
quarkus.flyway.users.baseline-version=2.0.1
quarkus.flyway.users.baseline-description=Users initial description

# Flyway configuration for "inventory" datasource
quarkus.flyway.inventory.connect-retries=12
quarkus.flyway.inventory.schemas=INVENTORY_TEST_SCHEMA
quarkus.flyway.inventory.table=inventory_flyway_quarkus_history
quarkus.flyway.inventory.locations=db/inventory/location1,db/inventory/location2
quarkus.flyway.inventory.sql-migration-prefix=I
quarkus.flyway.inventory.repeatable-sql-migration-prefix=N
quarkus.flyway.inventory.migrate-at-start=false
quarkus.flyway.inventory.baseline-on-migrate=true
quarkus.flyway.inventory.baseline-version=3.0.1
quarkus.flyway.inventory.baseline-description=Inventory initial description