Merge pull request #670 from AppFlowy-IO/af_workspace_member_foreign_key

chore: add missing foreign key
This commit is contained in:
Zack 2024-06-30 13:54:53 +08:00 committed by GitHub
commit 00b6c28915
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
ALTER TABLE public.af_workspace_member
ADD CONSTRAINT af_workspace_member_uid_fkey
FOREIGN KEY (uid) REFERENCES af_user(uid) ON DELETE CASCADE;