From a76424b1953e956d5f54f54414482ab310496fa8 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sun, 21 Dec 2014 21:06:20 +0000 Subject: [PATCH] Use Heroku environment for migrate script --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 141d871a..561789ab 100644 --- a/app.json +++ b/app.json @@ -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" } }