From e47cf9af734958464af4554eabd7f9aff70541a5 Mon Sep 17 00:00:00 2001 From: robvde Date: Sun, 18 Nov 2012 20:51:01 +0400 Subject: [PATCH] Fixed: update_db.sql: HideQuota existence verification --- WebsitePanel/Database/update_db.sql | 2 +- .../WebsitePanel.EnterpriseServer/Web.config | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/WebsitePanel/Database/update_db.sql b/WebsitePanel/Database/update_db.sql index 0c140dc1..aba5730d 100644 --- a/WebsitePanel/Database/update_db.sql +++ b/WebsitePanel/Database/update_db.sql @@ -559,7 +559,7 @@ GO UPDATE [dbo].[ResourceGroups] SET ShowGroup=1 GO -IF NOT EXISTS(select 1 from sys.columns COLS INNER JOIN sys.objects OBJS ON OBJS.object_id=COLS.object_id and OBJS.type='U' AND OBJS.name='Quotas' AND COLS.name='ShowGroup') +IF NOT EXISTS(select 1 from sys.columns COLS INNER JOIN sys.objects OBJS ON OBJS.object_id=COLS.object_id and OBJS.type='U' AND OBJS.name='Quotas' AND COLS.name='HideQuota') BEGIN ALTER TABLE [dbo].[Quotas] ADD [HideQuota] [bit] NULL END diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config index 3766094f..c48ebaf1 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config @@ -5,12 +5,21 @@ - + + - - + + + +