任敬轩 2 anni fa
parent
commit
6b154a12fe

+ 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');
+    }
+}