-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
It is a common requirement to be able to run database migrations as a different user than the one that runs the main app. We already support that by allowing a separate DataSource
to be configured for Flyway (and possibly Liquibase as well). We don't really have a convenient way to run that as a separate process though, which is kind of part of the same requirement (so that the admin user credentials can stay separate). Ideally, probably being able to run the application JAR with a switch of some sort would be the best way to do it. You can probably already do something with PropertiesLauncher
but it's not very obvious, so we need at least a proof of concept and some documentation.
See also #787.
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply