Use Heroku environment for migrate script

This commit is contained in:
James Brooks
2014-12-21 21:06:20 +00:00
parent 16257717d5
commit a76424b195
+1 -1
View File
@@ -19,6 +19,6 @@
"BUILDPACK_URL": "https://github.com/heroku/heroku-buildpack-php"
},
"scripts": {
"postdeploy": "php artisan migrate; php artisan key:generate"
"postdeploy": "php artisan migrate --env=heroku; php artisan key:generate"
}
}