ソースを参照

移除多余任务表

LD 5 年 前
コミット
ef98dcd76e

+ 0 - 1
app/Services/ForeignHaiRoboticsService.php

@@ -125,7 +125,6 @@ class ForeignHaiRoboticsService
                 =$updateEventType)==1){
             return $this->markHasGot();
         }
-        $this->markHasGot();
 
     }
     public function markHasPut(

+ 31 - 0
database/migrations/2020_12_24_155647_drop_station_mission_tables.php

@@ -0,0 +1,31 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+class DropStationMissionTables extends Migration
+{
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+        Schema::dropIfExists('station_mission_batch_types');
+        Schema::dropIfExists('station_mission_batches');
+        Schema::dropIfExists('station_mission_commodities');
+        Schema::dropIfExists('station_mission_material_boxes');
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        //
+    }
+}