Skip to content

Commit

Permalink
styleci
Browse files Browse the repository at this point in the history
  • Loading branch information
bert-w committed Apr 17, 2023
1 parent 222d714 commit 42fcfbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Integration/Database/EloquentKeyByTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public function postsByDate()
'pgsql' => 'SUBSTR(CAST(created_at AS varchar), 1, 10)',
'sqlsrv' => 'CONVERT(date, created_at)'
};

return $this->hasMany(Post::class)->keyBy(DB::raw($cast));
}
}
Expand Down

0 comments on commit 42fcfbe

Please sign in to comment.