Skip to content

Commit 23e2dcb

Browse files
authored
Update 2019_09_25_103421_update_task_results_duration_type.php (#371)
- add missing table name
1 parent 620c42f commit 23e2dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2019_09_25_103421_update_task_results_duration_type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private function migrateDurationValues(bool $toFloat = true)
5555
->chunkById(100, function ($rows) use ($toFloat) {
5656
foreach ($rows as $row) {
5757
DB::connection(TOTEM_DATABASE_CONNECTION)
58-
->table(TOTEM_TABLE_PREFIX)
58+
->table(TOTEM_TABLE_PREFIX.'task_results')
5959
->where('id', $row->id)
6060
->update([
6161
'duration' => $toFloat ? floatval($row->duration_old) : (string) $row->duration_old,

0 commit comments

Comments
 (0)