You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using different folders of migration scripts for different Spring profiles in my application. In each profiles yml config, I do configure the folders via setting spring.elasticsearch.evolution.locations. If one of these folders name is prefixed with migration, it is taken into account mistakenly, no matter what is configured.
Given the following two Spring profiles, I would have expected, profile 1 only taking scripts within es/migration into account, whereas profile 2 should take both configured folders into account:
Contrary to my expectation, even in profile 1, scripts from both folders are taken into account. If I rename folder es/migration-stage-dev into es/m-stage-dev everything works as expected.
The text was updated successfully, but these errors were encountered:
I am using different folders of migration scripts for different Spring profiles in my application. In each profiles yml config, I do configure the folders via setting
spring.elasticsearch.evolution.locations
. If one of these folders name is prefixed withmigration
, it is taken into account mistakenly, no matter what is configured.Given the following two Spring profiles, I would have expected, profile 1 only taking scripts within
es/migration
into account, whereas profile 2 should take both configured folders into account:Contrary to my expectation, even in profile 1, scripts from both folders are taken into account. If I rename folder
es/migration-stage-dev
intoes/m-stage-dev
everything works as expected.The text was updated successfully, but these errors were encountered: