diff --git a/pkg/coredata/migrations/20260212T163603Z.sql b/pkg/coredata/migrations/20260212T163603Z.sql index bb284fb21..fb8889d29 100644 --- a/pkg/coredata/migrations/20260212T163603Z.sql +++ b/pkg/coredata/migrations/20260212T163603Z.sql @@ -163,7 +163,7 @@ FROM ALTER TABLE iam_invitations ADD - COLUMN user_id TEXT REFERENCES iam_membership_profiles(id); + COLUMN user_id TEXT REFERENCES iam_membership_profiles(id) ON DELETE CASCADE; WITH profile_identities AS ( SELECT