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
"created_at"timestamp with time zone DEFAULT now() NOT NULL,
23
+
"updated_at"timestamp with time zone DEFAULT now() NOT NULL,
24
+
CONSTRAINT"publisher_slug_unique" UNIQUE("slug")
25
+
);
26
+
--> statement-breakpoint
27
+
DO $$ BEGIN
28
+
ALTERTABLE"agent_template" ADD CONSTRAINT"agent_template_publisher_id_publisher_id_fk"FOREIGN KEY ("publisher_id") REFERENCES"public"."publisher"("id") ON DELETE no action ONUPDATE no action;
29
+
EXCEPTION
30
+
WHEN duplicate_object THEN null;
31
+
END $$;
32
+
--> statement-breakpoint
33
+
CREATEINDEXIF NOT EXISTS "idx_agent_template_publisher"ON"agent_template" USING btree ("publisher_id");
0 commit comments