Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.sequelizerc File Setup

const path = require('path')
module.exports = {
  config: path.resolve('./database/config', 'config.js'),
  'models-path': path.resolve('./database/models'),
  'seeders-path': path.resolve('./database/seeders'),
  'migrations-path': path.resolve('./database/migrations'),
}
Source by izabayoblaise82.medium.com #
 
PREVIOUS NEXT
Tagged: #File #Setup
ADD COMMENT
Topic
Name
8+4 =