Merge pull request #2268 from gertjankrol/master

Fix the `AddActivityIndexes` migration's `down()` method
This commit is contained in:
Dan Brown 2020-09-26 15:21:21 +01:00 committed by GitHub
commit 49fa21c1e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ class AddActivityIndexes extends Migration
public function down() public function down()
{ {
Schema::table('activities', function(Blueprint $table) { Schema::table('activities', function(Blueprint $table) {
$table->dropIndex('key'); $table->dropIndex('activities_key_index');
$table->dropIndex('created_at'); $table->dropIndex('activities_created_at_index');
}); });
} }
} }