summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-10 11:59:44 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-10 11:59:44 +0200
commitb3ba4b3da3bf2d1e7b75ca3d0e68ae7fe08acef4 (patch)
tree5f727426bd4e4844322032f7277a0ef90c066f5d /models
parentb3758f0394a392867310ac7d368fda3ce909f7a7 (diff)
downloadorm-b3ba4b3da3bf2d1e7b75ca3d0e68ae7fe08acef4.tar.gz
orm-b3ba4b3da3bf2d1e7b75ca3d0e68ae7fe08acef4.zip
import model changes
Diffstat (limited to 'models')
-rw-r--r--models/filter.js2
-rw-r--r--models/participant.js10
-rw-r--r--models/player.js2
-rw-r--r--models/player_point.js4
-rw-r--r--models/series.js4
5 files changed, 15 insertions, 7 deletions
diff --git a/models/filter.js b/models/filter.js
index fc340d0..1ffcc8a 100644
--- a/models/filter.js
+++ b/models/filter.js
@@ -12,7 +12,7 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.STRING(191),
allowNull: false
},
- filter_on: {
+ dimension_on: {
type: DataTypes.STRING(191),
allowNull: false
},
diff --git a/models/participant.js b/models/participant.js
index f0f984d..22381fc 100644
--- a/models/participant.js
+++ b/models/participant.js
@@ -25,6 +25,10 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.CHAR(36),
allowNull: false
},
+ match_api_id: {
+ type: DataTypes.CHAR(36),
+ allowNull: false
+ },
hero_id: {
type: DataTypes.INTEGER(10).UNSIGNED,
allowNull: false
@@ -41,6 +45,10 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.INTEGER(10).UNSIGNED,
allowNull: false
},
+ filter_id: {
+ type: DataTypes.INTEGER(10).UNSIGNED,
+ allowNull: false
+ },
created_at: {
type: DataTypes.TIME,
allowNull: false
@@ -66,7 +74,7 @@ module.exports = function(sequelize, DataTypes) {
allowNull: false
},
skill_tier: {
- type: DataTypes.INTEGER(5).UNSIGNED,
+ type: DataTypes.INTEGER(6),
allowNull: false
},
skin_key: {
diff --git a/models/player.js b/models/player.js
index 6a8dda2..3bdab2e 100644
--- a/models/player.js
+++ b/models/player.js
@@ -42,7 +42,7 @@ module.exports = function(sequelize, DataTypes) {
allowNull: false
},
skill_tier: {
- type: DataTypes.INTEGER(5).UNSIGNED,
+ type: DataTypes.INTEGER(6),
allowNull: true
}
}, {
diff --git a/models/player_point.js b/models/player_point.js
index 84d9621..31cb085 100644
--- a/models/player_point.js
+++ b/models/player_point.js
@@ -8,10 +8,6 @@ module.exports = function(sequelize, DataTypes) {
primaryKey: true,
autoIncrement: true
},
- shard_id: {
- type: DataTypes.STRING(5),
- allowNull: true
- },
player_id: {
type: DataTypes.BIGINT,
allowNull: false
diff --git a/models/series.js b/models/series.js
index c5be4b9..73ea5c1 100644
--- a/models/series.js
+++ b/models/series.js
@@ -12,6 +12,10 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.STRING(191),
allowNull: false
},
+ dimension_on: {
+ type: DataTypes.STRING(191),
+ allowNull: false
+ },
start: {
type: DataTypes.TIME,
allowNull: true