code: function createEventModel (sequelize, modelDef, modelOptions) {
    const defaultModelOptions = {
      indexes, timestamps: false
    }
  
    modelDef = Object.assign({}, defaultModel, modelDef)
    modelOptions = Object.assign({}, defaultModelOptions, modelOptions)
  
    return sequelize.define('event', modelDef, modelOptions)
  }
docs: Create a default event table model. May be customized by passing your own model definition / options.
  
  @param {Sequelize} sequelize
  @param {Object}    [modelDef]      Custom model definition (the model's fields) to merge into default
  @param {Object}    [modelOptions]  Custom model options (indexes, etc.) to merge into default ones
  @return {Sequelize.Model}