diff --git a/server-example/server-mysql.js b/server-example/server-mysql.js index cfae1eb..0593da7 100644 --- a/server-example/server-mysql.js +++ b/server-example/server-mysql.js @@ -840,6 +840,11 @@ Product.init({ allowNull: true, comment: '商品种类' }, + label: { + type: DataTypes.INTEGER, + defaultValue: 0, + comment: '下架标识,1表示已下架' + }, description: { type: DataTypes.TEXT, allowNull: true,