-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade with MySQL backend : "Data too long for column 'carddata'" #128
Comments
The provided id has an image and the size is 100ko. The TEXT field has 64KB max. The LONGBLOB should be converted to LONGTEXT (4Go max) |
Hi @dominiquefournier 👋🏼 Guess what: #127 :) I could change the old migration to allow MEDIUM TEXT directly but it's a bit tricky and would likely break existing installations or new migration runs. I will release the next version this week though. |
Hi @thapi |
I may do this yes, but changing a previous migration is not really recommended. I'll test further |
Done here |
I try to migrate my old 3.3 version to 4.3. I have a MySQL backend
When updating the schemes, the error raised :
The conversion from longblob to text doesn't works.
The SQL request is : ALTER TABLE cards CHANGE carddata carddata TEXT DEFAULT NULL; from Version20231001214111.php
The text was updated successfully, but these errors were encountered: