Heroku dynos have an ephemeral filesystem (https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem). Since you are using SQLite which is actually a file on the filesystem, everything will run smoothly until the dyno running your application needs to restart – so its filesystem will be reset and you’ll lose everything !
To avoid it just configure your application to use Heroku-Postgresql.