商品表优化
This commit is contained in:
@@ -36,7 +36,7 @@ return new class extends Migration
|
||||
$table->string('name', 100)->comment('品名');
|
||||
$table->string('spec', 100)->default('')->comment('规格/包规');
|
||||
$table->string('unit', 20)->default('斤')->comment('计价单位(斤/件/箱等)');
|
||||
$table->string('image', 255)->default('')->comment('商品图片');
|
||||
$table->string('images', 255)->default('')->comment('商品图片');
|
||||
$table->text('content')->default('')->comment('商品图文详情');
|
||||
$table->integer('sort')->default(0)->comment('排序');
|
||||
$table->integer('shelf_life')->default(0)->comment('保质期');
|
||||
|
||||
Reference in New Issue
Block a user