mass assignment fix

This commit is contained in:
Artur Nowakowski 2020-01-08 10:46:21 +01:00
parent 1bc5f17578
commit f1460b819f

View File

@ -7,4 +7,6 @@ use Illuminate\Database\Eloquent\Model;
class UsersRecipes extends Model
{
protected $fillable = ['user_id', 'recipe_id'];
public function setUpdatedAtAttribute($value) {}
}