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 upTrait error when running MySQL example #826
Comments
This comment has been minimized.
|
It looks like your database table wasn't created with the correct id Integer type. Could you post your up.sql file from the migration that created the table? I think the issue here is that your I was able to pass all the tests for this example locally (by cloning the repo, and running the test_all script) |
This comment has been minimized.
HarmonEpsilon
commented
Mar 24, 2017
|
Sure thing.
I also cloned the repo and tried compiling Part 3 of the MySQL example and ran into the same problem. |
This comment has been minimized.
|
Could you try to If that doesn't solve the issue, could you let us know the mysql version + OS you are using? |
This comment has been minimized.
HarmonEpsilon
commented
Mar 24, 2017
|
There it goes. It's working now. Thanks. |
HarmonEpsilon commentedMar 24, 2017
Every time I try building the provided MySQL example, I encounter the following error:
I initially thought it was a bug with the nightly build from 2017-03-16, but when running on stable, I encounter the same error.
Info:
rustc 1.17.0-nightly
cargo 0.18.0-nightly
Diesel version 0.12.0