add init postgres schema

This commit is contained in:
lesion
2019-03-05 01:37:46 +01:00
parent 4f68d61aca
commit dfe6325f3c
3 changed files with 495 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ const conf = require('./config.js')
console.error(conf.db)
const db = new Sequelize(conf.db)
db.sync({ force: true })
//db.sync({ force: true })
// db.sync()
module.exports = db