Flyway Deskop Removes DefaultCollation in RedGateDatabaseInfo.xml
fwin
Posts: 5 New member
Hi!
We are using Flyway Desktop to sync a development database with a local git repository. Whenever we apply changes (e.g. adding a new stored procedure to the schema-model directory) Flyway also removes the line "<DefaultCollation>Latin1_General_CI_AI</DefaultCollation>" which we added manually to schema-model/RedGateDatabaseInfo.xml. Is this behavior intentional or will this be fixed in an upcoming version?
Thank you for your help!
We are using Flyway Desktop to sync a development database with a local git repository. Whenever we apply changes (e.g. adding a new stored procedure to the schema-model directory) Flyway also removes the line "<DefaultCollation>Latin1_General_CI_AI</DefaultCollation>" which we added manually to schema-model/RedGateDatabaseInfo.xml. Is this behavior intentional or will this be fixed in an upcoming version?
Thank you for your help!
Tagged:
Best Answer
-
Peter_Laws Posts: 289 Silver 2Oh interesting!
Noted, thanks, I've mentally shifted gears; in which case by default Flyway Desktop ignores collations differences (as defined here) please could you check your SQL Change automation project for the corresponding 'SyncOptionIgnoreCollations' project definition?
If the input is consistently the correct collation the easiest remediation for the moment may simply be to ignore.
Answers
While it is intentional (a consequence of the underlying comparison engine) it is something we are looking to change as it can be confusing or misleading. Such as in the scenario where multiple developers are committing with very slightly different versions of db.
I'll add your experience to the existing task for this.
May I ask why you needed to add it manually? I'd expect it to be dynamically populated from source.