629 B
629 B
Common Issues & Questions
Environment
Postgres Database
The database login-details are set upon first-launch. Therefore trying to change them later, after first-launch, will require a change of these details. A way of sidestepping manually changing this in the DB-shell is by deleting the postgres data volume.
Warning
Do not run this command in prod, it will delete ALL data in our database.
docker volume rm quatsh-website_postgres-data
After running this command a Django Migration has to be run to remake the tables.
docker exec quatsh-website-web-1 python manage.py migrate