blob: 8143708b44c32971fe74dfaba177367bee98e2b9 (
plain)
1
2
3
4
|
ALTER TABLE "reg_eval_criteria" ADD COLUMN "created_by" integer NOT NULL;--> statement-breakpoint
ALTER TABLE "reg_eval_criteria" ADD COLUMN "updated_by" integer NOT NULL;--> statement-breakpoint
ALTER TABLE "reg_eval_criteria" ADD CONSTRAINT "reg_eval_criteria_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 "reg_eval_criteria" ADD CONSTRAINT "reg_eval_criteria_updated_by_users_id_fk" FOREIGN KEY ("updated_by") REFERENCES "public"."users"("id") ON DELETE set null ON UPDATE no action;
|