Change FK relaitonship.
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
alter table "public"."job_conversations" drop constraint "job_conversations_conversationid_fkey",
|
||||||
|
add constraint "job_conversations_conversationid_fkey"
|
||||||
|
foreign key ("conversationid")
|
||||||
|
references "public"."conversations"
|
||||||
|
("id") on update restrict on delete restrict;
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
alter table "public"."job_conversations" drop constraint "job_conversations_conversationid_fkey",
|
||||||
|
add constraint "job_conversations_conversationid_fkey"
|
||||||
|
foreign key ("conversationid")
|
||||||
|
references "public"."conversations"
|
||||||
|
("id") on update cascade on delete cascade;
|
||||||
Reference in New Issue
Block a user