summaryrefslogtreecommitdiff
path: root/models/item_participant.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-07 17:55:03 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-07 17:55:03 +0200
commitd4380da66020f2a3d496715d14b637a868c81614 (patch)
treec2d20f90139c7fbb10c1855b3e79e4d525c9a992 /models/item_participant.js
parent3493a5bff6d622ccb8f1eba1c72bd939a418c1c5 (diff)
downloadorm-d4380da66020f2a3d496715d14b637a868c81614.tar.gz
orm-d4380da66020f2a3d496715d14b637a868c81614.zip
reimport after breaking changes
Diffstat (limited to 'models/item_participant.js')
-rw-r--r--models/item_participant.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/models/item_participant.js b/models/item_participant.js
index 92584f4..0a5f866 100644
--- a/models/item_participant.js
+++ b/models/item_participant.js
@@ -8,8 +8,8 @@ module.exports = function(sequelize, DataTypes) {
primaryKey: true,
autoIncrement: true
},
- participant_api_id: {
- type: DataTypes.STRING(191),
+ participant_stats_id: {
+ type: DataTypes.CHAR(36),
allowNull: false
},
item_id: {
@@ -17,11 +17,11 @@ module.exports = function(sequelize, DataTypes) {
allowNull: false
},
action: {
- type: DataTypes.STRING(191),
+ type: DataTypes.ENUM('grant','sell','use','final'),
allowNull: false
},
time_from_start: {
- type: DataTypes.INTEGER(11),
+ type: DataTypes.INTEGER(5).UNSIGNED,
allowNull: true
}
}, {