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