Resolve competing cascade action: manually set FKID to null

This commit is contained in:
Thomas Rittson
2025-12-20 15:44:15 +10:00
parent a3369ab070
commit 868ecf0532
7 changed files with 45 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ BEGIN
ADD CONSTRAINT [FK_Collection_OrganizationUser]
FOREIGN KEY ([DefaultCollectionOwner])
REFERENCES [dbo].[OrganizationUser] ([Id])
ON DELETE SET NULL
ON DELETE NO ACTION
END
GO