Commit graph

4 commits

Author SHA1 Message Date
102c028407
refactor: optimisation around stoptimes
- moved stoptime related functionality into new core:data:stoptime module
  - will feature all the different realtime stoptime sources to be
      integrated later
- create proper database schema for future migrations
- deduplicate trips into stoppingpatterns, since many trips share the
  exact same stopping pattern
  - stoptimes are now linked to stoppingpatterns instead
  - stoppingpattern ids are generated from a hash composed of all stoptimes
- stoptimes now use deltas for arrival time to save space
2026-05-05 03:23:11 +10:00
f1770744db
refactor(core): switch from room to sqldelight
sqldelight provides far more control over the sql and allows me to make
more optimisations such as removing generated rowid etc. sql also just
looks better than the annotation hell from room.
2026-05-02 02:31:18 +10:00
ff2af310fb
feat(server): use envvar for devmode constant 2026-04-30 17:26:41 +10:00
c912723c78
refactor: shared -> core 2026-04-02 01:57:08 +11:00