Modify sqlite to postgresql for heroku