diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-08 12:42:19 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-08 12:42:19 +0200 |
| commit | c5cd9e53d7413ce960a2170eedb466073175bf80 (patch) | |
| tree | c68eaf276b864e710645a8b1d8ca5e4c3de90271 /models/global_point_hero.js | |
| parent | e263eecd3951de72a67d00c26c95e9752179a39c (diff) | |
| download | orm-c5cd9e53d7413ce960a2170eedb466073175bf80.tar.gz orm-c5cd9e53d7413ce960a2170eedb466073175bf80.zip | |
import 2.7.0 table changes
Diffstat (limited to 'models/global_point_hero.js')
| -rw-r--r-- | models/global_point_hero.js | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/models/global_point_hero.js b/models/global_point_hero.js new file mode 100644 index 0000000..4f6aa22 --- /dev/null +++ b/models/global_point_hero.js @@ -0,0 +1,113 @@ +/* jshint indent: 2 */ + +module.exports = function(sequelize, DataTypes) { + return sequelize.define('global_point_hero', { + id: { + type: DataTypes.INTEGER(10).UNSIGNED, + allowNull: false, + primaryKey: true, + autoIncrement: true + }, + updated_at: { + type: DataTypes.DATE, + allowNull: false + }, + series_id: { + type: DataTypes.BIGINT, + allowNull: false + }, + filter_id: { + type: DataTypes.BIGINT, + allowNull: false + }, + game_mode_id: { + type: DataTypes.BIGINT, + allowNull: false + }, + skill_tier_id: { + type: DataTypes.BIGINT, + allowNull: false + }, + build_id: { + type: DataTypes.BIGINT, + allowNull: true + }, + role_id: { + type: DataTypes.BIGINT, + allowNull: true + }, + region_id: { + type: DataTypes.BIGINT, + allowNull: true + }, + hero_id: { + type: DataTypes.BIGINT, + allowNull: false + }, + enemy_hero_id: { + type: DataTypes.BIGINT, + allowNull: false + }, + played: { + type: DataTypes.BIGINT, + allowNull: true + }, + wins: { + type: DataTypes.BIGINT, + allowNull: true + }, + time_spent: { + type: DataTypes.BIGINT, + allowNull: true + }, + kills: { + type: DataTypes.BIGINT, + allowNull: true + }, + deaths: { + type: DataTypes.BIGINT, + allowNull: true + }, + assists: { + type: DataTypes.BIGINT, + allowNull: true + }, + minion_kills: { + type: DataTypes.BIGINT, + allowNull: true + }, + jungle_kills: { + type: DataTypes.BIGINT, + allowNull: true + }, + non_jungle_minion_kills: { + type: DataTypes.BIGINT, + allowNull: true + }, + crystal_mine_captures: { + type: DataTypes.BIGINT, + allowNull: true + }, + gold_mine_captures: { + type: DataTypes.BIGINT, + allowNull: true + }, + kraken_captures: { + type: DataTypes.BIGINT, + allowNull: true + }, + turret_captures: { + type: DataTypes.BIGINT, + allowNull: true + }, + gold: { + type: DataTypes.BIGINT, + allowNull: true + } + }, { + tableName: 'global_point_hero', + timestamps: false, + underscored: true, + freezeTableName: true + }); +}; |
