mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 19:04:31 +00:00
6862166064
Adds a config.js which uses lib/config to provide the Sequelize CLI with the same options as the application. Fixes #1396 Signed-off-by: Maximilian Haye <mhajoha@gmail.com>
10 lines
251 B
Plaintext
10 lines
251 B
Plaintext
const path = require('path')
|
|
const config = require('./lib/config')
|
|
|
|
module.exports = {
|
|
config: path.resolve('config.js'),
|
|
'migrations-path': path.resolve('lib', 'migrations'),
|
|
'models-path': path.resolve('lib', 'models'),
|
|
url: config.dbURL
|
|
}
|