23 lines
629 B
Markdown
23 lines
629 B
Markdown
# 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.
|
|
|
|
```shell
|
|
docker volume rm quatsh-website_postgres-data
|
|
```
|
|
|
|
After running this command a Django Migration has to be run to remake the tables.
|
|
|
|
``` shell
|
|
docker exec quatsh-website-web-1 python manage.py migrate
|
|
```
|