6 lines
244 B
MySQL
6 lines
244 B
MySQL
|
|
-- Evaluate on the real environment before execution.
|
||
|
|
-- Adjust the last sort column if the canonical backend order changes.
|
||
|
|
|
||
|
|
CREATE INDEX idx_proformas_company_archive_status_date
|
||
|
|
ON proformas (company_id, archived_at, status, proforma_date);
|