Comments
Sort by recent activity
I have also faced an issue where in migration scripts cannot be added to the deployment script.
SQL compare throws up an error "Error: Comparison of '.' and '.' failed: Cannot apply: HunkHeader[1,113->1,118]".
Not sure how this was caused, but would like to know the probable cause when these migration scripts go bad.
Once I excluded the migration script in the DeploymentOrder.json I was able to generate a SQL deployment script using SQL Comapre without migration script.
Update: Also upgraded to the latest & greatest of SQL compare & SQL Source Control but still the problem persists. / comments
I have also faced an issue where in migration scripts cannot be added to the deployment script.
SQL compare throws up an error "Error: Comparison of '.' and '.' failed: Cannot apply: HunkHeader[1,1...
Even I have seen an Error like "Error: Comparison of '.' and '.' failed: Cannot apply: HunkHeader[1,113->1,118]".
This is cause when a migration script was added to my database. If I exclude the script from deploymentorder.json and commit it to my source control I can build a script using SQL compare. Can anyone from redgate tell us what are the possible causes for migration scripts getting messed up that SQL compare throws such a vague error. Or is this a bug in SQL compare? / comments
Even I have seen an Error like "Error: Comparison of '.' and '.' failed: Cannot apply: HunkHeader[1,113->1,118]".
This is cause when a migration script was added to my database. If I exclude the sc...