text: /* jshint indent: 2 */
  
  module.exports = function(sequelize, DataTypes) {
    return sequelize.define('questionSetComments', {
      questionSetCommentId: {
        type: DataTypes.INTEGER(11),
        allowNull: false,
        primaryKey: true,
        autoIncrement: true
      },
      questionSetId: {
        type: DataTypes.INTEGER(11),
        allowNull: false,
        references: {
          model: 'questionSets',
          key: 'questionSetId'
        }
      },
      userId: {
        type: DataTypes.INTEGER(11),
        allowNull: false,
        references: {
          model: 'users',
          key: 'userId'
        }
      },
      questionSetCommentContent: {
        type: DataTypes.TEXT,
        allowNull: false
      },
      questionSetCommentCreateTimestamp: {
        type: DataTypes.TIME,
        allowNull: false,
        defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
      },
      questionSetCommentLastUpdateTimestamp: {
        type: DataTypes.TIME,
        allowNull: false,
        defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
      }
    }, {
      tableName: 'questionSetComments'
    });
  };
  