-
Notifications
You must be signed in to change notification settings - Fork 91
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
MySQL fields with ()
should not get quoted
#162
Comments
2 things to note here:
|
Hey, this is now released in 1.64 As mentioned in the previous comment, you can use this feature by instead of passing |
Truth is, the Postgres parser has an escape hatch for when you add parens to a field name, so even though the CORRECT solution to the specific issue here is to use the new interface, we may as well ALSO add in the escape hatch |
()
should not get quoted
@rabbiveesh Thank you! 🙇🏼♂️ |
Related SO question: https://stackoverflow.com/questions/6859955/how-do-you-specify-index-length-when-using-dbixclass
This is from
DBIx::Class::Migration
:What I see that in
deploy/001-auto.sql
it produces invalid SQL:But in
upgrade/001-auto.sql
, it looks valid:The text was updated successfully, but these errors were encountered: