<reponame>Syed-Ahsan-Ali/user-auth
var Model = require('../../app/model/models.js')

module.exports = function(callback) {
  // recreate User table
  Model.User.sync({ force: true }).then(function() {
    // create username with username: user and 
    // password: <PASSWORD>
    Model.User.create({
      username: 'user',
      password: <PASSWORD>',
      salt: '$2a$10$QaT1MdQ2DRWuvIxtNQ1i5O'
    }).then(callback)
  })
}