From fbb13244896a4a67d36e8b152f5fc5eb2334c36a Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Wed, 14 Sep 2016 10:20:05 -0400 Subject: [PATCH] Ignore return code of db-migrate up Due to an [issue](https://github.com/mysqljs/mysql/issues/1334) in the interaction of the mysql client and ClearDB, `db-migrate up` can exit due to an exception even if the migration succeeds. Ignoring the return code allows the app to start successfully --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 9053d4b8..46ae37d0 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: node_modules/.bin/db-migrate up && node app.js +web: node_modules/.bin/db-migrate up; node app.js