api/models/users.js

12 lines
284 B
JavaScript
Raw Normal View History

2018-09-07 21:14:05 +02:00
module.exports = (sequelize, DataTypes) => {
const Users = sequelize.define('Users', {
firstName: DataTypes.STRING,
lastName: DataTypes.STRING,
email: DataTypes.STRING,
password: DataTypes.STRING
}, {})
Users.associate = function (models) {
}
return Users
}