old_contents: 'use strict';
  
  module.exports = function(sequelize, DataTypes) {
    var <%= name %> = sequelize.define('<%= name %>', {
      <% Object.keys(attributes).forEach(function(fieldName, index) { %>
        <%= fieldName %>: DataTypes.<%= attributes[fieldName].toUpperCase() %>
        <%= (Object.keys(attributes).length - 1) > index ? ',' : '' %>
      <% }) %>
    }, {
      <%= underscored ? 'underscored: true,' : '' %>
      paranoid: true,
      classMethods: {
        associate: function(models) {
          // associations can be defined here
        }
      }
    });
  
    return <%= name %>;
  };
  
new_contents: module.exports = (sequelize, DataTypes) => {
    const <%= name %> = sequelize.define('<%= name %>', {
      <% Object.keys(attributes).forEach(function(fieldName, index) { %>
        <%= fieldName %>: DataTypes.<%= attributes[fieldName].toUpperCase() %>
        <%= (Object.keys(attributes).length - 1) > index ? ',' : '' %>
      <% }) %>
    }, {
      <%= underscored ? 'underscored: true,' : '' %>
      paranoid: true,
      classMethods: {
        associate: (models) => {
          // associations can be defined here
        }
      }
    });
  
    return <%= name %>;
  };
  
subject: make model ES6 friendly