6 lines
336 B
SQL
6 lines
336 B
SQL
-- Applied only by `make fix-index` (docs/phase-0-base-project-spec.md §5, §12).
|
|||
|
|
-- These are the indexes deliberately omitted from db/schema.sql.
|
||
|
|
|
||
|
|
CREATE INDEX IF NOT EXISTS transactions_account_created_idx ON transactions (account_id, created_at);
|
||
|
|
CREATE INDEX IF NOT EXISTS transactions_category_idx ON transactions (category_id);
|