summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/database.pm
AgeCommit message (Collapse)AuthorLines
2019-04-23Use one row per journey instead of split checkin/checkout entriesDaniel Friesel-1/+207
Whether a user is in transit or not is now determined by an entry in the in_transit table instead of a dangling checkin. All completed journeys are stored in the "journeys" table. This does most of the work needed for automatic checkout. However, note that the corresponding worker process is not implemented yet.
2019-04-22Use Mojo::Pg for migrationsDaniel Friesel-59/+62
2019-04-21database migrate: Use truncateDaniel Friesel-1/+1
2019-04-21Ignore stations without coordinates in distance calculationDaniel Friesel-0/+14
Reported by @marudor
2019-04-18Add a registration testDaniel Friesel-2/+0
2019-04-14Do not print error when encountering an empty databaseDaniel Friesel-6/+16
2019-04-13database setup: merge setup and migration code pathsMarkus Witt-40/+58
2019-04-13"database" sub-command: Provide an exit statusDaniel Friesel-0/+5
2019-04-13fix dbschema: add type for editedMarkus Witt-1/+1
2019-04-09Allow journey editing, keep track of edited journey attributes0.13Daniel Friesel-1/+15
Provides a workaround for #2
2019-04-07Cache journey statsDaniel Friesel-4/+25
2019-04-07Add a note about updating travelynxDaniel Friesel-1/+9
2019-04-06Add a database command for database setup and migrationsDaniel Friesel-0/+131