From 330e41a6d9a5c437edd42a2620879b1781efdc8f Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Mon, 30 Oct 2023 11:33:06 +0100 Subject: [PATCH] [PM-4589] Fix 2023-09-11_01_2023-02-FutureMigration (#3373) --- .../2023-09-11_01_2023-02-FutureMigration.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/util/Migrator/DbScripts/2023-09-11_01_2023-02-FutureMigration.sql b/util/Migrator/DbScripts/2023-09-11_01_2023-02-FutureMigration.sql index e7336b5553..8af4087709 100644 --- a/util/Migrator/DbScripts/2023-09-11_01_2023-02-FutureMigration.sql +++ b/util/Migrator/DbScripts/2023-09-11_01_2023-02-FutureMigration.sql @@ -1,9 +1,3 @@ -IF TYPE_ID(N'[dbo].[OrganizationUserType]') IS NOT NULL -BEGIN - DROP TYPE [dbo].[OrganizationUserType]; -END -GO - IF OBJECT_ID('[dbo].[OrganizationUser_CreateMany]') IS NOT NULL BEGIN DROP PROCEDURE [dbo].[OrganizationUser_CreateMany]; @@ -15,3 +9,9 @@ BEGIN DROP PROCEDURE [dbo].[OrganizationUser_UpdateMany]; END GO + +IF TYPE_ID(N'[dbo].[OrganizationUserType]') IS NOT NULL +BEGIN + DROP TYPE [dbo].[OrganizationUserType]; +END +GO