Support the ongoing development of →
Database Eloquent
Last updated 2 years ago.

Sounds like you are reaching to the current type limit. Check this out,

Maybe changing your type to MEDIUMBLOB or LONGBLOB instead.


Datafield is already a mediumblob (both the source and target) and the file is only 150kb, so this shouldn't be preventing the query from executing successfully. I am migrating code from straight PHP to Laravel and the PHP code works fine--the Laravel code does not :(


Could you provide more information?

Your code, error log would help.


I've gone back and tested the code again and I don't know why, but it's working now. It must have had something to do with clearing a cache file or otherwise that was flushed out during development of other parts of the code.


Sign in to participate in this thread!


Your banner here too?


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

Your logo here?

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

© 2024 - All rights reserved.