Switched to postgres db and made some other changes to prepare for deploy to heroku