|
|
@@ -16,8 +16,8 @@ class CreateWorkOrderCommoditiesTable extends Migration
|
|
|
Schema::create('work_order_commodities', function (Blueprint $table) {
|
|
|
$table->id();
|
|
|
$table->integer('work_order_id')->index()->comment('工单');
|
|
|
- $table->string('logistic_number')->comment('sku');
|
|
|
- $table->integer('commodity_id')->comment('sku');
|
|
|
+ $table->integer('commodity_id')->comment('商品id');
|
|
|
+ $table->string('sku')->comment('商品sku');
|
|
|
$table->integer('amount')->comment('数量');
|
|
|
$table->timestamps();
|
|
|
});
|