Skip to content

Fix/issue 1051 export sql crash varchar json#1053

Open
ludengke95 wants to merge 2 commits into
drawdb-io:mainfrom
ludengke95:fix/issue-1051-export-sql-crash-varchar-json
Open

Fix/issue 1051 export sql crash varchar json#1053
ludengke95 wants to merge 2 commits into
drawdb-io:mainfrom
ludengke95:fix/issue-1051-export-sql-crash-varchar-json

Conversation

@ludengke95

Copy link
Copy Markdown
  • DBML import now separates type_name and args into field.type and field.size
  • jsonToMySQL/jsonToMariaDB: guard generateSchema against undefined types when obj.types is empty or the custom type is not found

Fixes [BUG] DBML with field length definitions triggers SQL generation errors

I’m Chinese and my English isn’t very good either, so I rely on AI translation.
Could the administrator please take a look? Feel free to point out any issues or suggestions, and I will fully cooperate.

ludengke added 2 commits June 24, 2026 13:59
- DBML import now strips parentheses from type_name and uses args for size
- jsonToMySQL/jsonToMariaDB: guard generateSchema against undefined types
  when obj.types is empty or the custom type is not found

Fixes drawdb-io#1051
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[BUG] DBML with field length definitions triggers SQL generation errors

1 participant