任敬轩 2 年之前
父节点
当前提交
6b154a12fe
共有 1 个文件被更改,包括 33 次插入0 次删除
  1. 33 0
      Modules/Mine/Database/Migrations/2023_03_28_151931_create_mine_table.php

+ 33 - 0
Modules/Mine/Database/Migrations/2023_03_28_151931_create_mine_table.php

@@ -0,0 +1,33 @@
+<?php
+
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Database\Migrations\Migration;
+
+class CreateMineTable extends Migration
+{
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+        Schema::create('mine', function (Blueprint $table) {
+            $table->bigIncrements('id')->comment('ID');
+            $table->string('sub_company_name', 100)->comment('SUBCOMPANYNAME');
+            $table->timestamps();
+            $table->softDeletes();
+        });
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        Schema::dropIfExists('mine');
+    }
+}