add merchant
parent
8f06474e7f
commit
4265663701
|
|
@ -9,7 +9,6 @@ use Peidikeji\Goods\Filters\GoodsFilter;
|
|||
|
||||
class Goods extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
use Filterable;
|
||||
|
||||
protected $table = 'goods';
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@ class CreateGoodsTable extends Migration
|
|||
$table->json('spec')->nullable()->comment('规格[{name, values: [{name, value}]}]');
|
||||
$table->json('part')->nullable()->comment('配件[{name, values: [{name, value}]}]');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
$table->foreign('category_id')->references('id')->on('goods_category');
|
||||
$table->foreign('type_id')->references('id')->on('goods_type');
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 2b3e329a33bea20dc39d5c869faf0fb8f7e96e4d
|
||||
Loading…
Reference in New Issue