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 upDiesel does not currently support tables with primary keys consisting of more than 5 columns... #1740
Comments
This comment has been minimized.
|
See #1702 for a fix |
This comment has been minimized.
joshgev
commented
May 29, 2018
|
@weiznich Fantastic! Thanks a ton. I will check it out right now. |
This comment has been minimized.
joshgev
commented
May 29, 2018
|
Yeah, that worked; I will close this issue. Thanks again, @weiznich. |
joshgev
closed this
May 29, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
joshgev commentedMay 29, 2018
•
edited
Hi everyone,
My typical approach is to write my SQL queries by hand and embed them in Rust code, but I am looking into Diesel as an alternative methodology, especially because my current task would be facilitated by the ability to generate queries dynamically.
In any case, I ran into the following message when trying to create a new table using
diesel migration generate:I'd like to see this limitation relaxed because it would be difficult for me to reduce the number of columns on this particular table).
To sate my own curiosity, I'd be interested to hear why there is a limitation imposed by Diesel at all.
Thanks in advance for any help!