8 lines
172 B
JavaScript
8 lines
172 B
JavaScript
const Sequelize = require('sequelize')
|
|
const conf = require('./config.js')
|
|
const db = new Sequelize(conf.db)
|
|
|
|
// db.sync({ force: true })
|
|
// db.sync()
|
|
|
|
module.exports = db
|