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"Unsupported type: serial" error in Getting Started example using `infer_schema!` with SQLite #427
Comments
This comment has been minimized.
|
The type is called |
This comment has been minimized.
|
You say the database was set up by diesel setup -- but that doesn't create any tables. Can you provide steps to reproduce? What you've described should not be possible without user migrations |
This comment has been minimized.
Zarathustra30
commented
Sep 6, 2016
|
Ah. I did do the migration specified in Getting Started:
But now that I look at it, I see Now that I have fixed it, I'm getting completely different error messages, which is always a good sign. |
Zarathustra30
closed this
Sep 6, 2016
added a commit
to killercup/diesel.rs-website
that referenced
this issue
Sep 9, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Zarathustra30 commentedSep 6, 2016
If you go through the Getting Started guide using SQLite instead of Postgres, you cannot use
infer_schema!because it kicks you out with the error "Unsupported type: serial". The docs do not include "serial" among supported types, but the database was generated usingdiesel setup, so the fact that it is not supported is a bit odd.Currently using
nightly-2016-07-07-x86_64-pc-windows-gnu.