message: Generate sequelize model according to sequelize 4.0
  classMethods is deprecated as of 4.0.0
  See
diff: @@ -9,14 +9,12 @@ module.exports = function (app) {
  type: Sequelize.STRING,
  allowNull: false
  }
  - }, {
  - classMethods: {
  - associate (models) { // eslint-disable-line no-unused-vars
  + });
  +
  + <%= camelName %>.associate = function (models) { // eslint-disable-line no-unused-vars
  // Define associations here
  // See http://docs.sequelizejs.com/en/latest/docs/associations/
  - }
  - }
  - });
  + };
  return <%= camelName %>;
  };
  