Question

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. Thank you.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer