Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Allow to specify PostgreSQL connection params as database url #24

Merged
merged 3 commits into from
Jan 11, 2014

Conversation

nigma
Copy link
Contributor

@nigma nigma commented Jan 10, 2014

Database url format is a common way of representing connection params in PaaS computing services like Heroku where service configuration is exposed via OS environment variables.

The database url can be specified directly or point to env $DATABASE_URL variable, which goes in line with 12factor approach.

In my humble opinion it would be great if other backends were also configurable using env variables or command params, which would simplify deployment on Heroku and other platforms.

Also the db structure is now synchronized upon connection.

Database url format is a common way of representing connection params
in PaaS computing services like Heroku where service configuration is exposed
via OS environment variables.

The database url can be specified directly or point to env $VARIABLE_NAME.
FZambia added a commit that referenced this pull request Jan 11, 2014
Allow to specify PostgreSQL connection params as database url
@FZambia FZambia merged commit c6e86d5 into FZambia:master Jan 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants