So I have an application with a ton of migrations made by Entity framework.
We want to get a script for all the migrations at once and using the -Script tag doe
If you are trying to alter your view using Sql("Alter View dbo.Foos As etc"), then you can avoid the should be the first statement in a batch file error without adding GO statements by putting the sql inside an EXEC command: