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

Sounds like you are reaching to the current type limit. Check this out, https://dev.mysql.com/doc/refman/5.0/en/blob.html

Maybe changing your type to MEDIUMBLOB or LONGBLOB instead.

0

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 :(

0

Could you provide more information?

Your code, error log would help.

0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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.