Stats no longer show on user pages
Steps to reproduce
- Log in to a pod as administrator/moderator
- Click on the "Users" menu
- Select a user and bring up their information page
What happens?
The page shows up with placeholders for the Activity and Audio Content sections
What is expected?
Statistics about the account should be loaded
Context
Funkwhale version(s) affected: 0.19.1+git.853cd833
- Docker multi-container running on Ubuntu 18.04 with Nginx.
Tailing the API logs yields the following error:
psycopg2.errors.UndefinedTable: relation "moderation_report" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "moderation_report" WHERE ...
This leads to a 500 error on the browser when trying to call the API