Foundation Sharepoint Server fixes
This commit is contained in:
parent
73b48c75b4
commit
83872d2437
22 changed files with 1141 additions and 235 deletions
|
@ -9434,4 +9434,18 @@ BEGIN
|
|||
DELETE FROM ResourceGroups WHERE GroupID = @group_id
|
||||
END
|
||||
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[ServiceItemTypes] WHERE DisplayName = 'SharePointFoundationSiteCollection')
|
||||
BEGIN
|
||||
DECLARE @group_id AS INT
|
||||
DECLARE @item_type_id INT
|
||||
SELECT TOP 1 @item_type_id = ItemTypeId + 1 FROM [dbo].[ServiceItemTypes] ORDER BY ItemTypeId DESC
|
||||
UPDATE [dbo].[ServiceItemTypes] SET DisplayName = 'SharePointFoundationSiteCollection' WHERE DisplayName = 'SharePointSiteCollection'
|
||||
SELECT @group_id = GroupId FROM [dbo].[ResourceGroups] WHERE GroupName = 'Sharepoint Server'
|
||||
|
||||
INSERT INTO [dbo].[ServiceItemTypes] (ItemTypeId, GroupId, DisplayName, TypeName, 100, CalculateDiskSpace, CalculateBandwidth, Suspendable, Disposable, Searchable, Importable, Backupable)
|
||||
(SELECT TOP 1 @item_type_id, @group_id, 'SharePointSiteCollection', TypeName, TypeOrder, CalculateDiskSpace, CalculateBandwidth, Suspendable, Disposable, Searchable, Importable, Backupable FROM [dbo].[ServiceItemTypes] WHERE DisplayName = 'SharePointFoundationSiteCollection')
|
||||
END
|
||||
|
||||
GO
|
Loading…
Add table
Add a link
Reference in a new issue