note.js 427 B

1234567891011121314151617
  1. /*
  2. This is a combination model/migration/database table definition. See:
  3. http://sequelizejs.com/docs/1.7.8/models#definition
  4. for more information.
  5. This particular model is for notes
  6. */
  7. module.exports = function(sequelize, DataTypes) {
  8. return sequelize.define("Note", {
  9. link: DataTypes.STRING,
  10. description: DataTypes.TEXT,
  11. title: DataTypes.STRING,
  12. icon: DataTypes.STRING,
  13. content: DataTypes.TEXT
  14. });
  15. }