Browse Source

去除distance

duqinya 6 years ago
parent
commit
d67b93b7fb

+ 32 - 0
database/migrations/2019_04_29_024537_delete_distance_config_pickup_node_table.php

@@ -0,0 +1,32 @@
+<?php
+
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Database\Migrations\Migration;
+
+class DeleteDistanceConfigPickupNodeTable extends Migration
+{
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+        Schema::table('config_pickup_node', function (Blueprint $table) {
+            $table->dropColumn('distance');
+        });
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        Schema::table('config_pickup_node', function (Blueprint $table) {
+            //
+        });
+    }
+}