I have problems in keeping the data in the database, the query creates the object for me returns the id of the same, but not the row inserted in the table.
This is the way in which I keep the data:
$lineup = new lineup(); <br>
$lineup->user_id = Auth::user()->id;<br>
$lineup->date = $fecha; <br>
$lineup->salary_rest = $salary_rest;<br>
$lineup->save();
PD: I am using laravel 4.2.