History: Add details to drop history and split by type

that being 0 for drops and 1 for claims.
Fixes #16
This commit is contained in:
Minz committed 2022-09-21 13:35:43 +02:00
1 parent f021234e45
commit dcb7e334e2
3 files changed
+62 -19

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@ module.exports = (sequelize, DataTypes) => {
}
}
DropHistory.init({
dropData: DataTypes.JSON
dropData: DataTypes.JSON,
type: DataTypes.INTEGER
}, {
sequelize,
modelName: 'DropHistory',