brewlog/migrations
Jon Seager 494e0346bf
perf(db): enable WAL mode, add tuning pragmas and missing indexes
- Enable WAL journal mode for concurrent reads during writes
- Set synchronous=NORMAL, cache_size=8MB, temp_store=MEMORY, busy_timeout=5s
- Add indexes on brews.grinder_id, brews.brewer_id, brews.filter_paper_id
  to speed up the 6-table brew list JOIN
- Gitignore WAL sidecar files (*.db-shm, *.db-wal)
2026-02-06 18:04:58 +00:00
..
0001_auth.sql fix(db): add AUTOINCREMENT to prevent SQLite ROWID reuse 2026-02-06 10:09:13 +00:00
0002_coffee.sql fix(db): add AUTOINCREMENT to prevent SQLite ROWID reuse 2026-02-06 10:09:13 +00:00
0003_activities.sql fix(db): add AUTOINCREMENT to prevent SQLite ROWID reuse 2026-02-06 10:09:13 +00:00
0004_timeline_and_usage.sql fix(db): add AUTOINCREMENT to prevent SQLite ROWID reuse 2026-02-06 10:09:13 +00:00
0005_brew_gear_indexes.sql perf(db): enable WAL mode, add tuning pragmas and missing indexes 2026-02-06 18:04:58 +00:00