Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDealing with MySQL VARCHAR maximum length #1516
Comments
connorworley
changed the title from
Dealing with.MySQL VARCHAR maximum length
to
Dealing with MySQL VARCHAR maximum length
Jan 30, 2018
This comment has been minimized.
Nope, we also don't currently plan on tracking any other constraints, defaults, indexes, etc.
Not at this time. Thank you! |
sgrif
closed this
Jan 30, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
connorworley commentedJan 30, 2018
•
edited
Right now, it looks like the Varchar type simply aliases to Text. On MySQL databases, this is bound to cause problems for a VARCHAR column with max length specified. For example, the following test:
predictably fails:
Are there any plans to keep track of Varchar length in the future? Would there be interest in a PR for this, perhaps mapping to arrayvec's fixed-capacity string type? Thanks!