changed field from availability to isAvailable
This commit is contained in:
@@ -86,7 +86,7 @@ const Item = sequelize.define("Item", {
|
||||
type: DataTypes.ARRAY(DataTypes.STRING),
|
||||
defaultValue: [],
|
||||
},
|
||||
availability: {
|
||||
isAvailable: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user