music streaming statistics: add feature
music streaming statistics: add feature: a task in smol-software-harbor (Harbor dataset). Add a view daily minutes to schema.sql with one row per day that has plays: columns day (the played on value) and minutes (total seconds played that day divided by 60, rounded down, as an integer). For…
The task
Add a view `daily_minutes` to `schema.sql` with one row per day that has plays: columns `day` (the `played_on` value) and `minutes` (total seconds played that day divided by 60, rounded down, as an integer). For example, with `seed.sql`, `SELECT * FROM daily_minutes WHERE day = '2024-03-02';` gives `2024-03-02|3`.…
Part of efederici/smol-software-harbor.