A local-first personal finance app
[AI] Add performance indexes for transactions table (#8335)
Alec Bakholdind75261c42f3b
diff --git a/packages/loot-core/migrations/1780606215001_add_performance_indexes.sql b/packages/loot-core/migrations/1780606215001_add_performance_indexes.sqlnew file mode 100644index 0000000000..a0f8a7d4bc--- /dev/null+++ b/packages/loot-core/migrations/1780606215001_add_performance_indexes.sql@@ -0,0 +1,6 @@+BEGIN TRANSACTION;++CREATE INDEX IF NOT EXISTS idx_transactions_acct_tombstone ON transactions(acct, tombstone);+CREATE INDEX IF NOT EXISTS idx_transactions_schedule ON transactions(schedule);++COMMIT;diff --git a/upcoming-release-notes/wip-ai-add-performance-indexes-for-transactions-table.md b/upcoming-release-notes/wip-ai-add-performance-indexes-for-transactions-table.mdnew file mode 100644index 0000000000..ddb97d0d9b--- /dev/null+++ b/upcoming-release-notes/wip-ai-add-performance-indexes-for-transactions-table.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [alecbakholdin]+---++Add performance indices for transactions table