* Add lower case index for data->code * Only add index if not exists * Fix numbering of migration
2 lines
98 B
SQL
2 lines
98 B
SQL
CREATE INDEX IF NOT EXISTS ix_order_rows_lower_data ON order_rows ((LOWER(data->>'code'::text)));
|