0

My app is ready and work on Heroku from github, but i need not updating database.db (sqlite) every time updating (push), cause database.db live their own live on heroku

problem: adding string 'database.db' in .gitignore file make database.db erase from github, but i need just not updating one

what way is exist?

peace to everybady)

  • Databases aren't code and should not be committed to your repository. Furthermore, SQLite doesn't work very well on Heroku even if you managed to ignore it. You'd lose your data at least once per day due to dyno restarts. – Chris Mar 21 '22 at 16:13

0 Answers0