]> BookStack Code Mirror - bookstack/commitdiff
Fixed the `AddActivityIndexes` migration's `down()` method 2268/head
authorGertjan Krol <redacted>
Tue, 22 Sep 2020 17:22:27 +0000 (19:22 +0200)
committerGertjan Krol <redacted>
Tue, 22 Sep 2020 17:22:27 +0000 (19:22 +0200)
database/migrations/2020_09_19_094251_add_activity_indexes.php

index 544b01e1fc989bc96b52bd42566150e55a00f16c..7d6a270a919c911213d6e0292c016e8f7ee6bad5 100644 (file)
@@ -27,8 +27,8 @@ class AddActivityIndexes extends Migration
     public function down()
     {
         Schema::table('activities', function(Blueprint $table) {
-            $table->dropIndex('key');
-            $table->dropIndex('created_at');
+            $table->dropIndex('activities_key_index');
+            $table->dropIndex('activities_created_at_index');
         });
     }
 }