change default sequelizerc

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-12 08:02:48 +08:00
parent 1af9e912c6
commit 6a30382c1b
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
const path = require('path')
const config = require('./lib/config')
const config = require('./dist/config')
module.exports = {
config: path.resolve('config.js'),
'migrations-path': path.resolve('lib', 'migrations'),
'models-path': path.resolve('lib', 'models'),
'migrations-path': path.resolve('dist', 'migrations'),
'models-path': path.resolve('dist', 'models'),
url: config.dbURL
}