From 34f082959a1a747464f921f89a878111bb59634f Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 21 Aug 2017 19:40:38 +0200 Subject: reimport --- models/global_point_phase.js | 104 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 84 insertions(+), 20 deletions(-) (limited to 'models/global_point_phase.js') diff --git a/models/global_point_phase.js b/models/global_point_phase.js index 2180d99..41614bb 100644 --- a/models/global_point_phase.js +++ b/models/global_point_phase.js @@ -169,36 +169,100 @@ module.exports = function(sequelize, DataTypes) { allowNull: true }, ability_a_level: { - type: DataTypes.INTEGER(3).UNSIGNED, - allowNull: true + type: DataTypes.BIGINT, + allowNull: false }, ability_b_level: { - type: DataTypes.INTEGER(3).UNSIGNED, - allowNull: true + type: DataTypes.BIGINT, + allowNull: false }, ability_c_level: { - type: DataTypes.INTEGER(3).UNSIGNED, - allowNull: true + type: DataTypes.BIGINT, + allowNull: false }, hero_level: { - type: DataTypes.INTEGER(3).UNSIGNED, - allowNull: true + type: DataTypes.BIGINT, + allowNull: false }, - kda_ratio: { - type: "DOUBLE(5,5)", - allowNull: true + items: { + type: "BLOB", + allowNull: false }, - kill_participation: { - type: "DOUBLE(5,5)", - allowNull: true + item_grants: { + type: "BLOB", + allowNull: false }, - cs_per_min: { - type: "DOUBLE(7,5)", - allowNull: true + item_sells: { + type: "BLOB", + allowNull: false }, - kills_per_min: { - type: "DOUBLE(6,5)", - allowNull: true + ability_a_use: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_b_use: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_c_use: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_a_damage_true: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_a_damage_dealt: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_b_damage_true: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_b_damage_dealt: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_c_damage_true: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_c_damage_dealt: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_perk_damage_true: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_perk_damage_dealt: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_aa_damage_true: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_aa_damage_dealt: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_aacrit_damage_true: { + type: DataTypes.BIGINT, + allowNull: false + }, + ability_aacrit_damage_dealt: { + type: DataTypes.BIGINT, + allowNull: false + }, + item_uses: { + type: "BLOB", + allowNull: false + }, + player_damage: { + type: "BLOB", + allowNull: false } }, { tableName: 'global_point_phase', -- cgit v1.3.1