Skip to content

Commit 37f0705

Browse files
dexmansroshangautam
authored andcommitted
[fix] foreign key name on tasks table
- fixes task_results task_id FK name in migration down method
1 parent 2532a07 commit 37f0705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2018_07_06_165603_add_indexes_for_tasks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function down()
5050
{
5151
Schema::connection(TOTEM_DATABASE_CONNECTION)
5252
->table(TOTEM_TABLE_PREFIX.'task_results', function (Blueprint $table) {
53-
$table->dropForeign('task_results_task_id_fk');
53+
$table->dropForeign('task_id_fk');
5454
});
5555
Schema::connection(TOTEM_DATABASE_CONNECTION)
5656
->table(TOTEM_TABLE_PREFIX.'task_results', function (Blueprint $table) {

0 commit comments

Comments
 (0)