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

8 lines
165 B
JavaScript

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