An item with the same key has already been added

Error comparing development database against schema model
An item with the same key has already been added. Key: flyway.locations

This error can be seen if the configuration file (.conf) is modified so that there are duplicate entries. Please ensure that the entries are unique.

See the following resources for the default values.

Default behaviour: https://documentation.red-gate.com/flyway/flyway-cli-and-api/configuration/configuration-files

Detailed: https://flywaydb.org/documhttps://documentation.red-gate.com/flyway/flyway-cli-and-api/configuration/parameters/flyway/locationsentation/configuration/parameters/locations

 

Was this article helpful?

3 out of 6 found this helpful
Have more questions? Submit a request