blob: 493630af9f969a43233c3feab37fc494c6354238 (
plain)
1
2
3
4
|
ALTER TABLE "vendor_attachment_responses" ADD COLUMN "created_by" integer;--> statement-breakpoint
ALTER TABLE "vendor_attachment_responses" ADD COLUMN "updated_by" integer;--> statement-breakpoint
ALTER TABLE "vendor_attachment_responses" ADD CONSTRAINT "vendor_attachment_responses_created_by_users_id_fk" FOREIGN KEY ("created_by") REFERENCES "public"."users"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "vendor_attachment_responses" ADD CONSTRAINT "vendor_attachment_responses_updated_by_users_id_fk" FOREIGN KEY ("updated_by") REFERENCES "public"."users"("id") ON DELETE set null ON UPDATE no action;
|