Closed uralm1 closed 3 years ago
Thanks for reporting this! Yes, that sounds like the right solution: It would be a MySQL JSON field, but right now we support MySQL versions before that type existed. Internally, MySQL's JSON type is a binary type, so that would be BLOB, not TEXT.
We'll need a new migration that changes the TEXT column to a MEDIUMBLOB.
I wasn't able to reproduce the problem, unfortunately, so I'm not 100% sure this is a solution for it. But, since I believe you and it's more correct for the column to be a BLOB-like, I've made the change and will upload a release soon.
Seems https://github.com/brianmed/Minion-Backend-mysql/pull/3 and https://rt.cpan.org/Public/Bug/Display.html?id=108931 returned again in job notes.
In version 7 of db migration - job notes were moved to minion_notes table, note_value column is TEXT. This cause "Wide character in subroutine entry" errors on json conversions. I think changing note_value column to MEDIUMBLOB will fix this issue.
Example:
will fail with server error 500: