summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-12-10 13:41:23 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-12-10 13:41:23 +0100
commit3e04856b75dcdd5cbb9499d17dd7a30245c06698 (patch)
tree53cc55c2dcd0edad6e7dfe7f56ca9896c87064a4
parentf68df5b90b37456b14b82dfbba6d240766d27c4a (diff)
downloadorm-3e04856b75dcdd5cbb9499d17dd7a30245c06698.tar.gz
orm-3e04856b75dcdd5cbb9499d17dd7a30245c06698.zip
reimport
-rw-r--r--models/event.js4
-rw-r--r--models/global_point.js2
-rw-r--r--models/global_point_hero_vs_hero.js2
-rw-r--r--models/participant_items.js4
-rw-r--r--models/participant_phases.js32
-rw-r--r--models/team.js4
6 files changed, 24 insertions, 24 deletions
diff --git a/models/event.js b/models/event.js
index 7173acc..b651e97 100644
--- a/models/event.js
+++ b/models/event.js
@@ -48,11 +48,11 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.INTEGER(11),
allowNull: true
},
- round: {
+ win_points: {
type: DataTypes.INTEGER(11),
allowNull: true
},
- position: {
+ bonus_points: {
type: DataTypes.INTEGER(11),
allowNull: true
}
diff --git a/models/global_point.js b/models/global_point.js
index 4bb5de5..c5eefe3 100644
--- a/models/global_point.js
+++ b/models/global_point.js
@@ -230,7 +230,7 @@ module.exports = function(sequelize, DataTypes) {
},
item_072_use: {
type: DataTypes.BIGINT,
- allowNull: true
+ allowNull: false
}
}, {
tableName: 'global_point',
diff --git a/models/global_point_hero_vs_hero.js b/models/global_point_hero_vs_hero.js
index 34ebbff..bb84307 100644
--- a/models/global_point_hero_vs_hero.js
+++ b/models/global_point_hero_vs_hero.js
@@ -230,7 +230,7 @@ module.exports = function(sequelize, DataTypes) {
},
item_072_use: {
type: DataTypes.BIGINT,
- allowNull: true
+ allowNull: false
}
}, {
tableName: 'global_point_hero_vs_hero',
diff --git a/models/participant_items.js b/models/participant_items.js
index 89d2e61..b90fc50 100644
--- a/models/participant_items.js
+++ b/models/participant_items.js
@@ -45,10 +45,6 @@ module.exports = function(sequelize, DataTypes) {
type: "DOUBLE",
allowNull: true
},
- trueskill_ranked_delta: {
- type: "DOUBLE",
- allowNull: true
- },
any_afk: {
type: DataTypes.INTEGER(3).UNSIGNED,
allowNull: true
diff --git a/models/participant_phases.js b/models/participant_phases.js
index 4b16796..361acbf 100644
--- a/models/participant_phases.js
+++ b/models/participant_phases.js
@@ -256,6 +256,22 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.INTEGER(11),
allowNull: true
},
+ items: {
+ type: "BLOB",
+ allowNull: false
+ },
+ item_grants: {
+ type: "BLOB",
+ allowNull: false
+ },
+ item_grants_inorder: {
+ type: "BLOB",
+ allowNull: true
+ },
+ item_sells: {
+ type: "BLOB",
+ allowNull: false
+ },
ability_a_use: {
type: DataTypes.INTEGER(5).UNSIGNED,
allowNull: false
@@ -375,22 +391,6 @@ module.exports = function(sequelize, DataTypes) {
heal_rcvd_healed_other: {
type: "DOUBLE",
allowNull: true
- },
- item_grants: {
- type: "BLOB",
- allowNull: true
- },
- item_grants_inorder: {
- type: "BLOB",
- allowNull: true
- },
- item_sells: {
- type: "BLOB",
- allowNull: true
- },
- items: {
- type: "BLOB",
- allowNull: true
}
}, {
tableName: 'participant_phases',
diff --git a/models/team.js b/models/team.js
index eab927f..89eec80 100644
--- a/models/team.js
+++ b/models/team.js
@@ -21,6 +21,10 @@ module.exports = function(sequelize, DataTypes) {
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
+ league_id: {
+ type: DataTypes.BIGINT,
+ allowNull: true
+ },
name: {
type: DataTypes.STRING(20),
allowNull: false