Use heroku URL for database, use postgreSQL in production, sqlite in dev