I have a flask app on heroku. Originally I had a free Dyno from heroku. When my website was inactive for 30 mins it would sleep, consequently reseting my database.
I then upgraded to a Hobby Dyno. This solved the issue of the dyno sleeping. Although it still has a daily restart causing my database to reset. Is there a way to stop this from happening?