You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALTERTABLE"channels" ADD CONSTRAINT"channels_channel_type_id_channel_types_id_fk"FOREIGN KEY ("channel_type_id") REFERENCES"channel_types"("id") ON DELETE no action ONUPDATE no action;
20
+
EXCEPTION
21
+
WHEN duplicate_object THEN null;
22
+
END $$;
23
+
--> statement-breakpoint
24
+
DO $$ BEGIN
25
+
ALTERTABLE"channels" ADD CONSTRAINT"channels_user_id_users_id_fk"FOREIGN KEY ("user_id") REFERENCES"users"("id") ON DELETE no action ONUPDATE no action;
26
+
EXCEPTION
27
+
WHEN duplicate_object THEN null;
28
+
END $$;
29
+
--> statement-breakpoint
30
+
DO $$ BEGIN
31
+
ALTERTABLE"channels" ADD CONSTRAINT"channels_flow_id_flows_id_fk"FOREIGN KEY ("flow_id") REFERENCES"flows"("id") ON DELETE no action ONUPDATE no action;
32
+
EXCEPTION
33
+
WHEN duplicate_object THEN null;
34
+
END $$;
35
+
--> statement-breakpoint
36
+
DO $$ BEGIN
37
+
ALTERTABLE"flows" ADD CONSTRAINT"flows_user_id_users_id_fk"FOREIGN KEY ("user_id") REFERENCES"users"("id") ON DELETE no action ONUPDATE no action;
0 commit comments