Add lower case index for data->code (#356)

* Add lower case index for data->code

* Only add index if not exists

* Fix numbering of migration
This commit is contained in:
Rikard Bartholf
2023-10-17 11:50:32 +02:00
committed by GitHub
parent cc22119667
commit ca64917469
+1
View File
@@ -0,0 +1 @@
CREATE INDEX IF NOT EXISTS ix_order_rows_lower_data ON order_rows ((LOWER(data->>'code'::text)));