瀏覽代碼

修改gird 格口任务清空

ajun 5 年之前
父節點
當前提交
c989efcdef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      database/migrations/2021_04_15_132002_create_station_cache_shelf_grids_table.php

+ 1 - 1
database/migrations/2021_04_15_132002_create_station_cache_shelf_grids_table.php

@@ -16,7 +16,7 @@ class CreateStationCacheShelfGridsTable extends Migration
         Schema::create('station_cache_shelf_grids', function (Blueprint $table) {
             $table->id();
             $table->bigInteger('station_id')->comment('站');
-            $table->bigInteger('material_box_id')->comment('料箱');
+            $table->bigInteger('material_box_id')->nullable()->comment('料箱');
             $table->tinyInteger('grid_id')->comment('编号');
             $table->tinyInteger('status')->comment('状态');
             $table->timestamps();