From 5b2320f5165c26e5876a65bdb22e79770d3545a3 Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Mon, 2 Mar 2020 23:02:33 +0800 Subject: [PATCH] Revert "fix heroku again" Signed-off-by: BoHong Li --- bin/heroku | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/bin/heroku b/bin/heroku index 48a56fb5..be5d6e99 100755 --- a/bin/heroku +++ b/bin/heroku @@ -4,16 +4,7 @@ set -e if [ ! -z "$DYNO" ]; then # setup config files - cat << EOF > .sequelizerc -const path = require('path') -const config = require('./lib/config') - -module.exports = { - 'migrations-path': path.resolve('lib', 'migrations'), - 'models-path': path.resolve('lib', 'models'), - url: process.env['CMD_DB_URL'] || config.dbURL -} -EOF + cp .sequelizerc.example .sequelizerc cat << EOF > config.json