I have a deployed project with data in a database. Unfourtnatly I have “fucked up” something in the backend of django-storages so the static files in my S3 bucket stopped being updated. I figured the quickest way was to set a new instance with the deployed Django app.Now I’m about to connect it up to a database. If I connect it to the already existing database I don’t have to create a new database and transfer data to it.
Reading the docs I understand it as migration command will check makemigration document (i.e. all models and fields) vs database and only update changes. So I should be able to connect to same database as used in the past and makemigrations/migrate, and all the old data will still be accessible.
But have I understod the documentation correctly?
And how about the Django User data is that attached to the Django secret key or the the app/database? i.e. if I connect the project to the old database, will all current users loose their access, or still have access?
I hope I have been able to make my question understandable.