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 up`infer_schema!` blows up on tables with primary keys other than `id` #211
Comments
added a commit
to weiznich/diesel
that referenced
this issue
Apr 1, 2016
added a commit
to weiznich/diesel
that referenced
this issue
Apr 2, 2016
added a commit
to weiznich/diesel
that referenced
this issue
Apr 3, 2016
sgrif
closed this
in
7377bb8
Apr 12, 2016
added a commit
that referenced
this issue
Apr 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sgrif commentedFeb 13, 2016
Not only that, but the error message gives absolutely nothing useful.
We can't fully solve this without adding composite primary key support, but we should try to handle singular primary keys other than id, and either skip tables with composite primary keys or at least give a more useful warning/error.