summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-07 18:35:59 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-07 18:35:59 +0200
commitb3f07c8b9018f878e2922f4b5551434bc84a588e (patch)
tree46905a8baa957f25fecb814d7e18af35051563c0
parent06d6a023df177effb6ef7ee4165f4cc5c8876916 (diff)
downloadorm-b3f07c8b9018f878e2922f4b5551434bc84a588e.tar.gz
orm-b3f07c8b9018f878e2922f4b5551434bc84a588e.zip
regenerate
-rw-r--r--models/item_participant.js2
-rw-r--r--models/participant.js4
-rw-r--r--models/participant_stats.js2
3 files changed, 6 insertions, 2 deletions
diff --git a/models/item_participant.js b/models/item_participant.js
index 0a5f866..0fbd41c 100644
--- a/models/item_participant.js
+++ b/models/item_participant.js
@@ -8,7 +8,7 @@ module.exports = function(sequelize, DataTypes) {
primaryKey: true,
autoIncrement: true
},
- participant_stats_id: {
+ participant_api_id: {
type: DataTypes.CHAR(36),
allowNull: false
},
diff --git a/models/participant.js b/models/participant.js
index c477046..c364181 100644
--- a/models/participant.js
+++ b/models/participant.js
@@ -29,6 +29,10 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.INTEGER(10).UNSIGNED,
allowNull: false
},
+ series_id: {
+ type: DataTypes.INTEGER(10).UNSIGNED,
+ allowNull: false
+ },
created_at: {
type: DataTypes.TIME,
allowNull: false
diff --git a/models/participant_stats.js b/models/participant_stats.js
index f8c18c0..bae73ba 100644
--- a/models/participant_stats.js
+++ b/models/participant_stats.js
@@ -16,7 +16,7 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.TIME,
allowNull: true
},
- participant_id: {
+ participant_api_id: {
type: DataTypes.BIGINT,
allowNull: false
},