aboutsummaryrefslogtreecommitdiff
path: root/src/api/structures/Database.js
Commit message (Collapse)AuthorAgeFilesLines
* feat: implement initial values and saving to db logicPitu2021-03-251-1/+1
|
* fix: pg driver doesn't return anything without .returning()Zephyrrus2021-01-081-0/+6
| | | | feat: disable .returning() is not supported warning message, it's useless.
* feat: change mutation timestamp on every database mutationZephyrrus2021-01-071-1/+9
|
* chore: Move statistics related functions to it's own fileZephyrrus2021-01-071-0/+40
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)