aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/db/index.js
blob: 9c9e564b314b3c840ef77c9629afde569a499447 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import debug from 'debug'
var log = debug('db')

import { Sequelize } from 'sequelize'

const db = new Sequelize(process.env.DATABASE_URL, {
    logging: (...msg) => log(msg)
})

export default db