I would like to use the create method with camelCase named variables, something like this:
$review = Review::create((request()->validate([
'userId' => 'required',
'movieId' => 'required',
'title' => 'required',
'review' => 'required'
])));
The problem is that the table 'reviews' has user_id, and movie_id column names, and I get an SQL error. Is there a way to change this in Review model?