HelpDeskGeiger
asked on
Laravel 4 - Eloquent replace null values.
I have a laravel web application that is nearly completed. I have had to switch database servers and have run into an unexpected problem. The new database does not allow null values. Other applications read and write to this database which is why nulls are not allowed. Therefore I will not be able to change the database. What would be the easiest way to check for null values before a save?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
found the answer in the laravel docs that did not force me to change the database.
So you may be OK right now, assuming that the database tables are defined correctly.