If you have dotenv, set the database_url in your .env file instead of having this logical `or` in your code