diff --git a/src/Sql/dbo/Stored Procedures/Collection_CreateWithGroups.sql b/src/Sql/dbo/Stored Procedures/Collection_CreateWithGroups.sql index f1c9dc294c..fcba6e24fd 100644 --- a/src/Sql/dbo/Stored Procedures/Collection_CreateWithGroups.sql +++ b/src/Sql/dbo/Stored Procedures/Collection_CreateWithGroups.sql @@ -22,11 +22,13 @@ BEGIN INSERT INTO [dbo].[CollectionGroup] ( [CollectionId], - [GroupId] + [GroupId], + [ReadOnly] ) SELECT @Id, - [Id] + [Id], + 0 FROM @GroupIds WHERE diff --git a/src/Sql/dbo/Stored Procedures/Collection_UpdateWithGroups.sql b/src/Sql/dbo/Stored Procedures/Collection_UpdateWithGroups.sql index abd68f1ee1..83d08c5b5e 100644 --- a/src/Sql/dbo/Stored Procedures/Collection_UpdateWithGroups.sql +++ b/src/Sql/dbo/Stored Procedures/Collection_UpdateWithGroups.sql @@ -31,7 +31,8 @@ BEGIN INSERT VALUES ( @Id, - [Source].[Id] + [Source].[Id], + 0 ) WHEN NOT MATCHED BY SOURCE AND [Target].[CollectionId] = @Id THEN