You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
grummbeer
changed the title
Convert Checkboxes to Types::BOOLEAN to help reducing the database row size
Convert the checkboxes to Types::BOOLEAN to help keep the size of the database “row size” small
Sep 23, 2024
Yes, it's a good idea. Internally the fields will be created as tinyint fields though. Therefore we have to ensure that strict type handling would not break anything. Be aware that Contao 4.13 and 5 work differently here. Contao 5.3 has a type handling which will create booleans from the doc block types.
A few days ago I run into the "Row Size Too Large" error [1]. Contao has changed all checkboxes to
Types::BOOLEAN
[2].contao-navigation also uses some checkboxes. If you think it is a good idea to reduce the row size, I would create a PR for it.
[1] https://mariadb.com/kb/en/troubleshooting-row-size-too-large-errors-with-innodb/
[2] contao/contao#4797
The text was updated successfully, but these errors were encountered: