商品表优化

This commit is contained in:
liu
2026-08-05 14:10:20 +08:00
parent 38338a8833
commit dfa471bf22
9 changed files with 54 additions and 14 deletions
@@ -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('保质期');