From 12daa77e1a44afe7bd8eabd984cf3ee2d046d3e7 Mon Sep 17 00:00:00 2001 From: augushong Date: Sat, 28 Jan 2023 11:01:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E4=BE=8B=E5=AD=90=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/migrations/20220419102916_mall_goods.php | 1 + 1 file changed, 1 insertion(+) 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('销量'))