2023-04-08 21:33:55 -07:00
|
|
|
Ran `ALTER ROLE tv_backend SET search_path TO tv_backend` to point tv_backend to the correct schema.
|
|
|
|
|
|
|
|
The below are useful for checking migrations
|
|
|
|
`python manage.py migrate --plan`
|
2023-04-08 22:30:05 -07:00
|
|
|
`python manage.py sqlmigrate model 0001` (model and 0001 from the above)
|
|
|
|
|
2023-04-09 21:06:53 -07:00
|
|
|
vscode and heroku can handle multiline env vars - using \n in terminal though breaks the ssl files
|
|
|
|
|
|
|
|
heroku config:set DISABLE_COLLECTSTATIC=1 --app tv-backend-v4
|