chucknorris / roundhouse

RoundhousE is a Database Migration Utility for .NET using sql files and versioning based on source control
http://projectroundhouse.org
916 stars 249 forks source link

Scripts Run records the post tag subsitution version of the script for hasing #401

Open willsmith9182 opened 4 years ago

willsmith9182 commented 4 years ago

We got into a strange scenario when we tried to test something against a copy of our database with a different database name.

Script run has hashes of post substituted scripts, which of course then failed as the tag substituted was a different database name. Causing RH to shout at us about an Up script being modified.

Would it be a sensible idea to record the script pre-substitution rather than post? This would obviously have a knock-on effect to existing users, so perhaps a flag to enable recording the pre-substituted version of the script?

I realise i am an edge case, feel free to tell me to "sod off"

erikbra commented 3 years ago

Related to #419