Switch from sqlite to postgresql for heroku compatibility.