Pārlūkot izejas kodu

取消logs 索引

ANG YU 5 gadi atpakaļ
vecāks
revīzija
ab91edd010

+ 0 - 33
database/migrations/2021_02_04_104419_add_class_created_at_index.php

@@ -1,33 +0,0 @@
-<?php
-
-use Illuminate\Database\Migrations\Migration;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Support\Facades\Schema;
-
-class AddClassCreatedAtIndex extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('logs', function (Blueprint $table) {
-            //
-            $table->index(['class', 'created_at']);
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('logs', function (Blueprint $table) {
-            $table->dropIndex(['class', 'created_at']);
-        });
-    }
-}