Fixed the AddActivityIndexes migration's down() method

This commit is contained in:
Gertjan Krol 2020-09-22 19:22:27 +02:00
parent a6c20c321f
commit 4b0d1ddf39

View 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');
});
}
}