Skip to content

Commit 5b2320f

Browse files
committed
Revert "fix heroku again"
Signed-off-by: BoHong Li <raccoon@hackmd.io>
1 parent 1cd4dce commit 5b2320f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

bin/heroku

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,7 @@ set -e
44

55
if [ ! -z "$DYNO" ]; then
66
# setup config files
7-
cat << EOF > .sequelizerc
8-
const path = require('path')
9-
const config = require('./lib/config')
10-
11-
module.exports = {
12-
'migrations-path': path.resolve('lib', 'migrations'),
13-
'models-path': path.resolve('lib', 'models'),
14-
url: process.env['CMD_DB_URL'] || config.dbURL
15-
}
16-
EOF
7+
cp .sequelizerc.example .sequelizerc
178

189
cat << EOF > config.json
1910

0 commit comments

Comments
 (0)