We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109e751 commit 1cd4dceCopy full SHA for 1cd4dce
bin/heroku
@@ -4,7 +4,16 @@ set -e
4
5
if [ ! -z "$DYNO" ]; then
6
# setup config files
7
- cp .sequelizerc.example .sequelizerc
+ 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
17
18
cat << EOF > config.json
19
0 commit comments