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 upCannot use nullable datetime type in MySQL #1443
Comments
This comment has been minimized.
|
This was fixed in #1380 which was released in 1.0.0-rc1. We need to backport this to 0.99. In the mean time you can enable the Chrono feature to work around this |
This comment has been minimized.
Martin1887
commented
Jan 1, 2018
|
Thanks, the issue can be closed then. |
Martin1887
closed this
Jan 1, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Martin1887 commentedDec 31, 2017
Setup
Versions
Feature Flags
Problem Description
I have a datetime field in a table and the schema generated with print_schema does not compile because Datetime does not implement the trait
diesel::types::NotNull.What are you trying to accomplish?
Establish connection.
What is the expected output?
Successful compilation.
What is the actual output?
Are you seeing any additional errors?
No.
Steps to reproduce
This is the generated table! macro.
Thanks and regards.