hey you're a library, you don't get to tell me how to design my database schema.
No reason that the third wouldn't work either. Just put the field on your struct, Diesel will use it for inserts.
-
-
Thanks a lot! I was reading http://diesel.rs/guides/all-about-updates/ … which seemed to imply the `id` field was important.
-
Diesel has conventions which it will use by default. `id` is one of them. Everything configurable though.
- 1 more reply
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.