According to documentation, performance wise, it is better to limit/indicate the length of the fields/attributes.
How to do so?
Currently I have this in the XML definition:
<attribute label="Código Interno Computacional" name="CODINTERNOCOMPUTACIONAL"
type="string"/>
Adding: value="50" results in error.
Also, inspecting xtk:srcSchema, I see the attributes don't have a length value:
<!-- should be a template "xtk:common:name" -->
<attribute default="NewName()" edit="NamePkEdit" label="Name" name="name" required="true"
type="string"/>
My Schema structure:
<srcSchema _cs="DTI_XXX (abc)" created="2024-08-26 19:36:36.581Z" createdBy-id="0"
entitySchema="xtk:srcSchema" img="xtk:schema.png" label="DTI_XXX"
lastModified="2024-09-06 03:50:16.385Z" mappingType="sql" md5="AF12309BC7EC4DD0D7B62A928E490687"
modifiedBy-id="0" name="DTI_XXX" namespace="abc" xtkschema="xtk:srcSchema">
<createdBy _cs="c (cccc)"/>
<modifiedBy _cs="c (cccc)"/>
<element autopk="true" label="DTI_XXX" name="DTI_XXX">
<attribute label="aaa" name="aaa" type="string"/>
</element>
</srcSchema>