DROP INDEX "unique_stage_rev";--> statement-breakpoint
CREATE UNIQUE INDEX "unique_stage_revision_usage" ON "revisions" USING btree ("issue_stage_id","revision","usage",COALESCE("usage_type", ''));