I have a Django application that stores a large amount of data in it. The problem is that whenever I deploy to Heroku, even if this is a small change, the remote database with the correct data gets overwritten by the local dummy data database.
Scenario:
I have a db file my_db which is remote. Now, when I click on the hero, I just git add > git commit only the modified files, not the entire project. My problem is that it somehow overwrites the remote databases with local data.
Is there any way to prevent this?
Newtt source share