|
|
@@ -1,39 +0,0 @@
|
|
|
-<?php
|
|
|
-
|
|
|
-use Illuminate\Database\Migrations\Migration;
|
|
|
-use Illuminate\Database\Schema\Blueprint;
|
|
|
-use Illuminate\Support\Facades\Schema;
|
|
|
-use Illuminate\Support\Facades\DB;
|
|
|
-return new class extends Migration
|
|
|
-{
|
|
|
- /**
|
|
|
- * Run the migrations.
|
|
|
- *
|
|
|
- * @return void
|
|
|
- */
|
|
|
- public function up()
|
|
|
- {
|
|
|
- Schema::create('inspection', function (Blueprint $table) {
|
|
|
- $table->engine = 'InnoDB';
|
|
|
- $table->collation = 'utf8mb4_general_ci';
|
|
|
- $table->id();
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- $table->timestamps();
|
|
|
- });
|
|
|
- DB::statement("ALTER TABLE bot_inspection COMMENT = '人工稽查'");
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * Reverse the migrations.
|
|
|
- *
|
|
|
- * @return void
|
|
|
- */
|
|
|
- public function down()
|
|
|
- {
|
|
|
- Schema::dropIfExists('inspection');
|
|
|
- }
|
|
|
-};
|