Created
September 15, 2014 10:03
-
-
Save NicolasRitouet/7aa90df19d1db79cc5be to your computer and use it in GitHub Desktop.
Sequelize model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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