category.js 345 B

1234567891011121314
  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 categories
  6. */
  7. module.exports = function(sequelize, DataTypes) {
  8. return sequelize.define("Category", {
  9. name: DataTypes.STRING,
  10. icon: DataTypes.STRING
  11. });
  12. }