Fixed db integer heroku problem