{"size": 872, "ext": "js", "max_stars_repo_path": "app/server/models/athetes.js", "max_stars_repo_name": "thefalc/out-wod-leaderboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/server/models/athetes.js", "max_issues_repo_name": "thefalc/out-wod-leaderboard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/server/models/athetes.js", "max_forks_repo_name": "thefalc/out-wod-leaderboard", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.6470588235, "max_line_length": 45, "alphanum_fraction": 0.6766055046}
'use strict';

module.exports = (sequelize, DataTypes) => {
  var Athlete = sequelize.define('Athlete', {
    id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        allowNull: false,
        autoIncrement: true
    },
    name: DataTypes.STRING,
    userid: DataTypes.INTEGER,
    affiliateid: DataTypes.INTEGER,
    divisionid: DataTypes.INTEGER,
    age: DataTypes.INTEGER,
    countryoforiginname: DataTypes.STRING,
    countryoforigincode: DataTypes.STRING,
    height: DataTypes.STRING,
    weight: DataTypes.STRING,
    profilepic: DataTypes.STRING,
    overallrank: DataTypes.INTEGER,
    overallscore: DataTypes.INTEGER,
    affiliate: DataTypes.STRING,
    division: DataTypes.INTEGER,
    lastupdated: DataTypes.DATE,
    standards: DataTypes.INTEGER,
    gender: DataTypes.STRING,
  },
  {
    tableName: 'athletes'
  });

  return Athlete;
};