Skip to content

jmix-create-entity: say that a length of 255 is omitted, not written - #133

Draft
glebfox wants to merge 1 commit into
v3from
feedback/131-column-length-default
Draft

jmix-create-entity: say that a length of 255 is omitted, not written#133
glebfox wants to merge 1 commit into
v3from
feedback/131-column-length-default

Conversation

@glebfox

@glebfox glebfox commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #131.

Drafted from a field report while the problem was fresh, by the agent that hit it. It is unreviewed: treat the wording as a starting point, not a proposal to merge as-is.

Change

Two edits to one file. Step 6 gains a line saying a length of 255 is @Column's own default and is omitted. The Constraint Audit's length bullet gains the reason and the asymmetry: the audit compares the effective length rather than the presence of the attribute, because SQL has no 255 default so the changelog always spells varchar(255); precision/scale default to 0 and so are always written on both sides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jmix-create-entity: silent on whether a length equal to @Column's own default should be written or omitted

1 participant