-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Change type of field "value" in table #_fields_values from text to mediumtext #42606
Conversation
@sergeytolkachyov By review your PR looks good to me. But it would be good if you could provide some testing instructions. When you create a pull request, there are already headings for testing instructions and so on in the description. This is intended to be completed by the author, not to be removed completely. Possible testing instructions could be to make a new installation and check the type of the column after that, and to make an update with the package ur custom URL created by drone and check the type of the column after that. Or in this simple case maybe only "Code review". But there should be some testing instructions. |
@sergeytolkachyov You reacted with a thumbs up to my previous comment, but you haven't added any testing instructions to the description of this PR yet. Could you do that? Thanks in advance. |
Yes, I'll do that |
Just an off topic comment, if you working heavily with custom fields: you can improve the performance enormous when you change the But for this change we need a small kind of migration, but I think worth to investigate (if you're up for another PR) |
Done |
Thanks. |
@bembelimen It did that in my application with about 40k fields_values and it makes such an incredible huge difference. I would really appreciate and support a PR for that. |
@richard67 @bembelimen not merged? |
@sergeytolkachyov You should know that
|
quite every pr needs 2 human test |
I have tested this item ✅ successfully on a7badaa This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42606. |
Yes, if it’s not just a typo in a comment, that’s what I mean with „non trivial“. |
Strangely, for some reason I remembered that 2 necessary tests had already been done. |
@sergeytolkachyov Where? Here in the PR I can not see any human test results except of the one from a few minutes ago. |
I wrote to 3 humans for testing now. Thank you |
I have tested this item ✅ successfully on a7badaa This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42606. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42606. |
Thanks! |
Change type of field "value" in table
#_fields_values
fromtext
tomediumtext
for MySQL ONLY. PostgreSQL have only text field type with unlimited length. Pull Request for Issue #36065 and remake a PR #42605 for Joomla 5.1.0Testing instructions
Joomla_5.1.0-alpha3-dev+pr.42606-Development-Full_Package.zip
#__field_values
table. Then go to structure section and check that type ofvalue
field ismediumtext
.value
field type in PHP My Admin in#__field_values
table. It is atext
type now.Joomla_5.1.0-alpha3-dev+pr.42606-Development-Update_Package
and update#__field_values
table - type of fieldvalue
. It could be amediumtext