Files
database/migrations/000.445.sql
T
Rikard BartholfandGitHub ca64917469 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
2023-10-17 11:50:32 +02:00

2 lines
98 B
SQL

CREATE INDEX IF NOT EXISTS ix_order_rows_lower_data ON order_rows ((LOWER(data->>'code'::text)));