Migrations

This commit is contained in:
Eden Kirin
2023-09-14 22:12:28 +02:00
parent db8fba7207
commit d4a04adfda
8 changed files with 141 additions and 29 deletions

53
migrations/flyway.conf Normal file
View File

@ -0,0 +1,53 @@
flyway.connectRetries=0
# The SQL statements to run to initialize a new database connection immediately after opening it. (default: none)
flyway.initSql=set client_min_messages to warning;
flyway.locations=filesystem:migrations
# Comma-separated list of directories containing JDBC drivers and Java-based migrations.
# (default: <INSTALL-DIR>/jars)
# flyway.jarDirs=
flyway.sqlMigrationPrefix=V
flyway.repeatableSqlMigrationPrefix=R
flyway.sqlMigrationSeparator=__
flyway.sqlMigrationSuffixes=sql
flyway.placeholderReplacement=true
# Placeholders to replace in Sql migrations
# flyway.placeholders.user=
# flyway.placeholders.my_other_placeholder=
flyway.placeholderPrefix=${
flyway.placeholderSuffix=}
flyway.validateOnMigrate=false
flyway.cleanOnValidationError=false
flyway.cleanDisabled=true
flyway.baselineVersion=0000
flyway.baselineOnMigrate=false
flyway.outOfOrder=true
flyway.validateMigrationNaming=true
# This allows you to tie in custom code and logic to the Flyway lifecycle notifications (default: empty).
# Set this to a comma-separated list of fully qualified class names of org.flywaydb.core.api.callback.Callback
# implementations.
# flyway.callbacks=
# If set to true, default built-in callbacks (sql) are skipped and only custom callback as
# defined by 'flyway.callbacks' are used. (default: false)
# flyway.skipDefaultCallbacks=
flyway.ignoreMissingMigrations=false
flyway.ignoreIgnoredMigrations=false
flyway.ignorePendingMigrations=false
flyway.ignoreFutureMigrations=true
flyway.mixed=false
flyway.group=false
flyway.installedBy=