text: /**
   * @description :: A model definition.  Represents a database table/collection/etc.
   * @docs        :: https://sailsjs.com/docs/concepts/models-and-orm/models
   */
  
  module.exports = {
    attributes: {
      event: {
        type: 'string',
        required: true
      },
      data: {
        type: 'ref'
      },
    },
  
    indexes: [
      {
        attributes: {
          event: 1
        }
      }
    ]
  }
  