From b3f07c8b9018f878e2922f4b5551434bc84a588e Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 7 Apr 2017 18:35:59 +0200 Subject: regenerate --- models/item_participant.js | 2 +- models/participant.js | 4 ++++ models/participant_stats.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'models') 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 }, -- cgit v1.3.1