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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Element 'column', attribute 'length': The attribute 'length' is not allowed.
Description
Currently in the docs it mentions that we can use length attribute to define the text column size however Magento 2 won't allow it failing to create the column.
Create a db_schema.xml and define a table with a column like this <column name="validate_rules" xsi:type="text" length="255" comment="Validate Rules" />
Expected result
Either the column is created correctly or the documentation is updated. We need a definition on how to set the size for text columns via db_schema.xml