Change database from sqlite to postgress ready for deployment to heroku