actual-server/migrations/1561751833510_indexes.sql

8 lines
197 B
MySQL
Raw Normal View History

2022-03-31 17:19:08 +00:00
BEGIN TRANSACTION;
CREATE INDEX trans_category_date ON transactions(category, date);
CREATE INDEX trans_category ON transactions(category);
CREATE INDEX trans_date ON transactions(date);
COMMIT;