Support the ongoing development of Laravel.io →

anakadote

Joined 10 Jul 2014

Statistics

Threads 2
Replies 8
Solutions 1
Articles 0

Query Not Saving All Input

I am saving an Eloquent model to a MySQL database, however all the request input is not saved, despi...

0 Likes
10 Replies
Solved

Override App::runningInConsole() in environment

I'm trying to setup a cron job to run a custom Laravel command, however, on my production server php...

0 Likes
0 Replies
replied 8 years ago

Query Not Saving All Input

Okay, I figured it out. And I feel dumb. The flow of my code is to first add a new payment and then...

0 Likes
Solved
replied 8 years ago

Query Not Saving All Input

For what it's worth, using the same exact code in a database seeder does work.

0 Likes
replied 8 years ago

Query Not Saving All Input

And I tried setting job_id explicitly but no dice either: $payment = new JobPayment; $payme...

0 Likes
replied 8 years ago

Query Not Saving All Input

PovilasKorop said: @anakadote - just for the sake of testing, could you try to add them as $fillabl...

0 Likes
replied 8 years ago

Query Not Saving All Input

I have confirmed that the model is be updated with the given data before the call to save(). And it...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.