gancio/app/db.js

4 lines
129 B
JavaScript

const Sequelize = require('sequelize')
const conf = require('./config.js')
const db = new Sequelize(conf.db)
module.exports = db