Skip to content

Instantly share code, notes, and snippets.

@csorlandi
Created June 14, 2018 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csorlandi/f33960385f684667b15443b748069b99 to your computer and use it in GitHub Desktop.
Save csorlandi/f33960385f684667b15443b748069b99 to your computer and use it in GitHub Desktop.
module.exports = (sequelize, DataTypes) => {
const User = sequelize.define('User', {
name: DataTypes.STRING,
email: DataTypes.STRING,
password: DataTypes.STRING,
});
return User;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment