{"size": 963, "ext": "js", "max_stars_repo_path": "models/test_parameters.js", "max_stars_repo_name": "testVikran/CAPI", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "models/test_parameters.js", "max_issues_repo_name": "testVikran/CAPI", "max_issues_repo_issues_event_min_datetime": "2021-05-09T23:46:46.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-09T23:46:46.000Z", "max_forks_repo_path": "models/test_parameters.js", "max_forks_repo_name": "testVikran/CAPI", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 20.4893617021, "max_line_length": 49, "alphanum_fraction": 0.5514018692}
/* jshint indent: 2 */

module.exports = function(sequelize, DataTypes) {
  return sequelize.define('testParameters', {
    id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true,
      autoIncrement: true,
      field: 'id'
    },
    name: {
      type: DataTypes.STRING(100),
      allowNull: false,
      field: 'name'
    },
    slug: {
      type: DataTypes.STRING(100),
      allowNull: true,
      field: 'slug'
    },
    paramId: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      field: 'param_id'
    },
    isPrimary: {
      type: DataTypes.INTEGER(1),
      allowNull: true,
      defaultValue: '0',
      field: 'is_primary'
    },
    meshTerm: {
      type: DataTypes.STRING(200),
      allowNull: true,
      field: 'mesh_term'
    },
    defaultUnit: {
      type: DataTypes.STRING(255),
      allowNull: true,
      field: 'default_unit'
    }
  }, {
    tableName: 'test_parameters'
  });
};
