feat: 拉取最新仓库代码

Co-authored-by: traeagent <traeagent@users.noreply.github.com>
This commit is contained in:
gituib
2026-05-06 03:19:21 +00:00
co-authored by traeagent
parent 5170c0ab6f
commit 307528b36b
4 changed files with 31 additions and 21 deletions
+4 -1
View File
@@ -19,8 +19,11 @@ const Business = sequelize.define(
allowNull: true,
},
status: {
type: DataTypes.ENUM('active', 'offline'),
type: DataTypes.STRING,
defaultValue: 'active',
validate: {
isIn: [['active', 'offline']],
},
},
offlineDate: {
type: DataTypes.DATE,
+4 -1
View File
@@ -25,8 +25,11 @@ const Warehouse = sequelize.define(
defaultValue: 100,
},
status: {
type: DataTypes.ENUM('active', 'inactive'),
type: DataTypes.STRING,
defaultValue: 'active',
validate: {
isIn: [['active', 'inactive']],
},
},
description: {
type: DataTypes.TEXT,