mirror of
https://github.com/itflow-org/itflow
synced 2026-11-17 18:07:22 +00:00
Speed up Transactions, Reconcile and the transactions export again by reading the ledger lines first and joining each to its account with STRAIGHT_JOIN instead of letting the optimizer look lines up through a temporary index, and stop billable expenses waiting to be invoiced from slowing every page: database update 3.5.5 indexes expenses.expense_refund_of_id so the side menu count, the invoice page, Add Expenses and the expense quick look no longer check each waiting expense against every expense; 26.11.2 changelog updated
This commit is contained in:
3
db.sql
3
db.sql
@@ -1746,7 +1746,8 @@ CREATE TABLE `expenses` (
|
||||
KEY `expense_invoice_id` (`expense_invoice_id`),
|
||||
KEY `expense_import_key` (`expense_import_key`),
|
||||
KEY `expense_reimbursement_id` (`expense_reimbursement_id`),
|
||||
KEY `expense_reconciliation_id` (`expense_reconciliation_id`)
|
||||
KEY `expense_reconciliation_id` (`expense_reconciliation_id`),
|
||||
KEY `expense_refund_of_id` (`expense_refund_of_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user