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