Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New configuration parameter flyway.defaultSchema #2576

juliahayward opened this issue Nov 25, 2019 · 1 comment


Copy link

@juliahayward juliahayward commented Nov 25, 2019

At the moment the config parameter flyway.schemas is overloaded:

  • it provides a list of schemas to be created and to be cleaned
  • the first of the list is taken to be the default schema for the database connection (where the database supports the concept of a default schema) and the location of the schema history table

We will introduce a new configuration parameter flyway.defaultSchema which will take over the second of those two functions. Initially, in Flyway 6.1 and subsequent 6.x.x releases, if defaultSchema is not specified then we default back to the current behaviour. In Flyway 7 it is intended that it will become mandatory to specify flyway.defaultSchema if flyway.schemas is specified.

@juliahayward juliahayward added this to the Flyway 6.1.0 milestone Nov 25, 2019

This comment has been minimized.

Copy link
Member Author

@juliahayward juliahayward commented Nov 26, 2019

Implemented in 6.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.