Fixed: update_db.sql: HideQuota existence verification
This commit is contained in:
parent
1a606444e1
commit
e47cf9af73
2 changed files with 13 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue