diff --git a/database/migrations/20220419102916_mall_goods.php b/database/migrations/20220419102916_mall_goods.php index 0f1a32e..6ad7a30 100644 --- a/database/migrations/20220419102916_mall_goods.php +++ b/database/migrations/20220419102916_mall_goods.php @@ -36,6 +36,7 @@ class MallGoods extends Migrator ->addColumn(Column::char('logo')->setComment('商品logo {image}')) ->addColumn(Column::text('images')->setComment('商品图片 {images}')) ->addColumn(Column::text('describe')->setComment('商品描述 {editor}')) + ->addColumn(Column::text('property')->setComment('商品属性')) ->addColumn(Column::decimal('market_price')->setDefault(0)->setComment('市场价')) ->addColumn(Column::decimal('discount_price')->setDefault(0)->setComment('折扣价')) ->addColumn(Column::integer('sales')->setUnsigned()->setDefault(0)->setComment('销量'))