mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 02:26:12 +02:00
2 lines
279 B
SQL
2 lines
279 B
SQL
DROP INDEX "budget_incidents_policy_window_threshold_idx";--> statement-breakpoint
|
|
CREATE UNIQUE INDEX "budget_incidents_policy_window_threshold_idx" ON "budget_incidents" USING btree ("policy_id","window_start","threshold_type") WHERE "budget_incidents"."status" <> 'dismissed'; |