if not exists (select top 1 1 from sys.schemas where name = 'migration')
begin
EXEC ('CREATE SCHEMA [migration] AUTHORIZATION [dbo]')
end