4
0
Fork 0

add merchant

master
panliang 2022-08-10 11:43:44 +08:00
parent 8f06474e7f
commit 4265663701
3 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ use Peidikeji\Goods\Filters\GoodsFilter;
class Goods extends Model
{
use SoftDeletes;
use Filterable;
protected $table = 'goods';

View File

@ -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