summaryrefslogtreecommitdiff
path: root/models/item.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-08-23 21:11:22 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-08-23 21:11:22 +0200
commit4d86b511a12ba1863fb32354c1c69ac05216c406 (patch)
tree2388797e82bf06b64ea8fc8498d673b6549017fa /models/item.js
parent50181b5b105c9f13d81dd433a3b48eea16be88c6 (diff)
downloadorm-4d86b511a12ba1863fb32354c1c69ac05216c406.tar.gz
orm-4d86b511a12ba1863fb32354c1c69ac05216c406.zip
reimport
Diffstat (limited to 'models/item.js')
-rw-r--r--models/item.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/models/item.js b/models/item.js
index 0168c1b..f264de6 100644
--- a/models/item.js
+++ b/models/item.js
@@ -28,13 +28,9 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.STRING(191),
allowNull: false
},
- active: {
- type: DataTypes.STRING(191),
- allowNull: false
- },
- passive: {
- type: DataTypes.STRING(191),
- allowNull: false
+ is_activable: {
+ type: DataTypes.INTEGER(1),
+ allowNull: true
}
}, {
tableName: 'item',