From 4b0d1ddf39ff9e387455add2778db3204eea582f Mon Sep 17 00:00:00 2001 From: Gertjan Krol Date: Tue, 22 Sep 2020 19:22:27 +0200 Subject: [PATCH] Fixed the `AddActivityIndexes` migration's `down()` method --- .../migrations/2020_09_19_094251_add_activity_indexes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2020_09_19_094251_add_activity_indexes.php b/database/migrations/2020_09_19_094251_add_activity_indexes.php index 544b01e1f..7d6a270a9 100644 --- a/database/migrations/2020_09_19_094251_add_activity_indexes.php +++ b/database/migrations/2020_09_19_094251_add_activity_indexes.php @@ -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'); }); } }