Skip to content

Commit 9b66c96

Browse files
authored
Update 2022_03_14_120000_alter_task_results_table_add_index_on_created_at.php (#349)
fix the wrong index name
1 parent fa70b3b commit 9b66c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2022_03_14_120000_alter_task_results_table_add_index_on_created_at.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function down()
2828
{
2929
Schema::connection(TOTEM_DATABASE_CONNECTION)
3030
->table(TOTEM_TABLE_PREFIX.'task_results', function (Blueprint $table) {
31-
$table->dropIndex('created_at');
31+
$table->dropIndex(TOTEM_TABLE_PREFIX.'task_results_created_at_index');
3232
});
3333
}
3434
}

0 commit comments

Comments
 (0)