Permalink
Browse files

Documentation updates for v0.2.7

  • Loading branch information...
1 parent 54a81a4 commit 3187a29d22cba25f754068458a91504a189b6202 @kunklejr kunklejr committed Nov 17, 2012
Showing with 11 additions and 2 deletions.
  1. +5 −0 CHANGELOG.md
  2. +5 −1 README.md
  3. +1 −1 package.json
View
@@ -81,3 +81,8 @@ Fix:
- Fix db.removeIndex for MySQL #42 (via @aprobus)
- Workaround for node-mysql bug felixge/node-mysql#289 #54 (via
@aprobus)
+
+## 0.2.7
+
+Fix:
+ - Support process.env.DATABASE_URL for postgres, for use with Heroku #57 (via @garth)
View
@@ -186,7 +186,7 @@ db-migrate supports the concept of environments. For example, you might have a d
"user": "root",
"password": "root"
},
-
+
"pg": {
"driver": "pg",
"user": "test",
@@ -203,6 +203,10 @@ You can pass the -e or --env option to db-migrate to select the environment you
The above will run all migrations that haven't yet been run in the prod environment, grabbing the settings from config/database.json.
+Alternatively, for PostgreSQL, you can specify a DATABASE_URL
+environment variable that will be used in place of the configuration
+file settings. This is helpful for use with Heroku.
+
## Defaults
## Migrations API
View
@@ -11,7 +11,7 @@
"sqlite",
"mysql"
],
- "version": "0.2.6",
+ "version": "0.2.7",
"engines": {
"node": ">=0.6.0"
},

0 comments on commit 3187a29

Please sign in to comment.