aboutsummaryrefslogtreecommitdiff
path: root/src/api/database/migrations/20210105222742_addStatisticsTable.js
Commit message (Collapse)AuthorAgeFilesLines
* chore: Move statistics related functions to it's own fileZephyrrus2021-01-071-0/+16
fix: Extract database constructor to a separate file to ensure we only create one knex instance/db feat: Add cron for saving the stats to the database every hour feat: Get cached stats from database (if a stat is not found in the db, generate it)