salix/@salix-services/account/server/boot/createmodel.js

9 lines
202 B
JavaScript

module.exports = function(app) {
var User = app.models.User;
User.create ({
email: 'admin@admin.com',
password: '1234'
}, function (err, user) {
console.log ('User created!');
});
};