ALTER TABLE "revisions" DROP CONSTRAINT "revisions_issue_stage_id_issue_stages_id_fk";
--> statement-breakpoint
CREATE UNIQUE INDEX "unique_stage_rev" ON "revisions" USING btree ("issue_stage_id","revision");