Skip to content

Instantly share code, notes, and snippets.

@hadrienblanc
Last active January 26, 2021 19:44
Show Gist options
  • Save hadrienblanc/d6fd89e3fa0eddeab5652fb87d1f3133 to your computer and use it in GitHub Desktop.
Save hadrienblanc/d6fd89e3fa0eddeab5652fb87d1f3133 to your computer and use it in GitHub Desktop.
---
development:
url: <%= ENV['DATABASE_URL'].gsub('?', '_development?') %>
test:
url: <%= ENV['DATABASE_URL'].gsub('?', '_test?') %>
staging:
url: <%= ENV['DATABASE_URL'].gsub('?', '_staging?') %>
production:
url: <%= ENV['DATABASE_URL'].gsub('?', '_production?') %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment