Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown types are uppercased without recourse #37

Open
bradchoate opened this issue Mar 11, 2024 · 0 comments
Open

Unknown types are uppercased without recourse #37

bradchoate opened this issue Mar 11, 2024 · 0 comments

Comments

@bradchoate
Copy link

In our migrations using the db.createTable API, if we specify an unsupported type, it becomes uppercased (see here). This is not desirable; in some cases the type is a list of enum values (using the MySQL db-migrate driver). While it "works", it means that the values returned for the column are uppercased, but we'd prefer them to be in the case given (lowercase), since MySQL will return the enum value in whichever case it was when the table was defined.

If you want the unsupported type to be uppercased, please parse for quoted strings and preserve the content of each quoted string.

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

No branches or pull requests

1 participant