We have a project that uses ef-migrations containing multiple (read ~60) migrations created over a long period of development. Naturally, some of these
Just delete all the repetitions of this line:
DECLARE @var0 nvarchar(128)
Only the first declaration is sufficient. Your script will work smoothly! :)