It does have a primary key. :) https://github.com/diesel-rs/diesel/blob/master/diesel_cli/src/infer_schema_internals/information_schema.rs …
-
-
Firstly: Thank you! Secondly: How weird, diesel seems happy with that but querying information schema or using "show keys", doesn't show any keys at all on that table. What was my mistake / what should I have looked for?
-
When I say "primary key" I'm referring to the abstract concept of "how to uniquely identify a row", not a physical primary key. `information_schema` is typically a view under the hood which doesn't have a physical key for indexing, but still has the abstract concept
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.