summaryrefslogtreecommitdiff
path: root/db/migrations/0119_flowery_kabuki.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0119_flowery_kabuki.sql')
-rw-r--r--db/migrations/0119_flowery_kabuki.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrations/0119_flowery_kabuki.sql b/db/migrations/0119_flowery_kabuki.sql
new file mode 100644
index 00000000..fc127bf0
--- /dev/null
+++ b/db/migrations/0119_flowery_kabuki.sql
@@ -0,0 +1,2 @@
+DROP INDEX "idx_ocr_row_unique";--> statement-breakpoint
+CREATE UNIQUE INDEX "idx_ocr_report_no_unique" ON "ocr_rows" USING btree ("report_no","no"); \ No newline at end of file