Manage app deployment to heroku by recreating database first