From: Gertjan Krol Date: Tue, 22 Sep 2020 17:22:27 +0000 (+0200) Subject: Fixed the `AddActivityIndexes` migration's `down()` method X-Git-Tag: v0.30.1~1^2~11^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/refs/pull/2268/head?ds=sidebyside Fixed the `AddActivityIndexes` migration's `down()` method --- 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'); }); } }