Revert commits 5170c0a..4e8e8b8
This reverts 3 commit(s) from5170c0ato4e8e8b8. Reverted commits:4e8e8b8feat: 拉取最新仓库代码307528bfeat: 拉取最新仓库代码5170c0afeat: 拉取最新仓库代码 Co-authored-by: traeagent <traeagent@users.noreply.github.com>
This commit is contained in:
@@ -25,11 +25,8 @@ const Warehouse = sequelize.define(
|
||||
defaultValue: 100,
|
||||
},
|
||||
status: {
|
||||
type: DataTypes.STRING,
|
||||
type: DataTypes.ENUM('active', 'inactive'),
|
||||
defaultValue: 'active',
|
||||
validate: {
|
||||
isIn: [['active', 'inactive']],
|
||||
},
|
||||
},
|
||||
description: {
|
||||
type: DataTypes.TEXT,
|
||||
|
||||
Reference in New Issue
Block a user