FIxing bug
This commit is contained in:
parent
416f5294e6
commit
9c170504cd
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class ApiController extends Controller
|
|||
DB::table('task_history')
|
||||
->select('id', DB::raw('MAX(created_at) as created_at'), 'output', 'status', 'task_id')
|
||||
->groupBy('id')
|
||||
->groupBy('output')
|
||||
, 'task_history', function($join) {
|
||||
$join
|
||||
->on('task_history.task_id', '=', 'tasks.id')
|
||||
|
|
Loading…
Add table
Reference in a new issue