Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to migrate a new app to an existing Django project (Droplet)?
I need to migrate an additional app/model to a running Django project to create a table in a PostgreSQL managed database. How to do this migration? What is the safest way to do this migration not to annoy the production system? Can anyone help me?
FYI, the existing Django project runs in a Droplet with Ubuntu 20 and Nginx. The tutorials I followed to set up this project are https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-20-04 and https://www.digitalocean.com/community/tutorials/how-to-set-up-a-scalable-django-app-with-digitalocean-managed-databases-and-spaces.