play.play-jdbc-evolutions_2.13.0-M3.2.7.0-M4.source-code.reference.conf Maven / Gradle / Ivy
The newest version!
play {
modules {
enabled += "play.api.db.evolutions.EvolutionsModule"
}
# Evolutions configuration
evolutions {
# Whether evolutions are enabled
enabled = true
# Database schema in which the generated evolution and lock tables will be saved to
schema = ""
# Whether evolution updates should be performed with autocommit or in a manually managed transaction
autocommit = true
# Whether locks should be used when apply evolutions. If this is true, a locks table will be created, and will
# be used to synchronise between multiple Play instances trying to apply evolutions. Set this to true in a multi
# node environment.
useLocks = false
# Whether evolutions should be automatically applied. In prod mode, this will only apply ups, in dev mode, it will
# cause both ups and downs to be automatically applied.
autoApply = false
# Whether downs should be automatically applied. This must be used in combination with autoApply, and only applies
# to prod mode.
autoApplyDowns = false
# Whether evolutions should be skipped, if the scripts are all down.
skipApplyDownsOnly = false
# Db specific configuration. Should be a map of db names to configuration in the same format as this.
db {
}
}
}