瀏覽代碼

新mine表修改

任敬轩 2 年之前
父節點
當前提交
cdac58e09e
共有 1 個文件被更改,包括 30 次插入0 次删除
  1. 30 0
      Modules/Mine/Database/Migrations/2023_03_29_085720_update_mine_table.php

+ 30 - 0
Modules/Mine/Database/Migrations/2023_03_29_085720_update_mine_table.php

@@ -0,0 +1,30 @@
+<?php
+
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Database\Migrations\Migration;
+
+class UpdateMineTable extends Migration
+{
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+        Schema::table('mine', function (Blueprint $table) {
+            $table->string('nid')->nullable()->comment('新ID');
+        });
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        //
+    }
+}