"Write access revoked" on Postgres Hobby Databases
You've exceeded the row limit of your Postgres Hobby database for more than 7 days, meaning that your write access has been revoked. The best solution if you're going to need a larger database is to upgrade to a paid plan.
If you're unable to upgrade, you will need to delete the necessary rows from your database to bring it back within compliance of the limits for your plan. You will still have
delete permissions to your database so that you can do this. We periodically check for database row limit compliance, but if you have had your write access revoked, it could take up to several hours before permissions are restored if you take the deletion route.
More information is available here: https://devcenter.heroku.com/articles/heroku-postgres-plans#hobby-tier