diff --git a/util/Setup/DbScripts/2017-11-06_00_FamilyPlanAdjustments.sql b/util/Setup/DbScripts/2017-11-06_00_FamilyPlanAdjustments.sql index 595d662f0..c22c40977 100644 --- a/util/Setup/DbScripts/2017-11-06_00_FamilyPlanAdjustments.sql +++ b/util/Setup/DbScripts/2017-11-06_00_FamilyPlanAdjustments.sql @@ -234,3 +234,17 @@ FROM INNER JOIN [dbo].[Organization] O ON O.[Id] = OU.[OrganizationId] GO + +IF EXISTS(SELECT * FROM sys.views WHERE [Name] = 'OrganizationView') +BEGIN + DROP VIEW [dbo].[OrganizationView] +END +GO + +CREATE VIEW [dbo].[OrganizationView] +AS +SELECT + * +FROM + [dbo].[Organization] +GO