I'm using RoundhousE to manage database migrations, and, due to bad legacy git config, the scripts have been committed to git with inconsistent line endings. I want to normalise these line-endings and, of course, in doing so RoundhousE detects hash changes to these files.
I accept this as correct behaviour from a RoundhousE perspective, but I'm unsure of the best path to remediate. We're already in production with the database.
I'm at a bit of a loss of best way to proceed, so not much research done so far, happy to discuss in comments with people with prior experience.
Option #1
Commit an UPDATE script first that bootstraps the [RoundhousE].[ScriptsRun] table of hashes to the correct hash for the new one-time scripts that have changed. Then commit the one-time scripts. I really dislike this approach, it feels dirty and hacky.