diff options
Diffstat (limited to 'models')
| -rw-r--r-- | models/item_participant.js | 2 | ||||
| -rw-r--r-- | models/participant.js | 4 | ||||
| -rw-r--r-- | models/participant_stats.js | 2 |
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 }, |
