Skip to content

Instantly share code, notes, and snippets.

@NicolasRitouet
Created September 15, 2014 10:03
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 NicolasRitouet/7aa90df19d1db79cc5be to your computer and use it in GitHub Desktop.
Save NicolasRitouet/7aa90df19d1db79cc5be to your computer and use it in GitHub Desktop.
Sequelize model
module.exports = function(sequelize, DataTypes) {
var Page = sequelize.define('Page', {
title: DataTypes.STRING,
content: DataTypes.STRING
});
return Page
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment