Created
March 18, 2018 04:51
-
-
Save sean3z/963a550ba6a84caceb883b5b35f0d5c7 to your computer and use it in GitHub Desktop.
Diesel schema macro - id Nullable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table! { | |
heroes { | |
id -> Nullable<Integer>, | |
name -> Varchar, | |
identity -> Varchar, | |
hometown -> Varchar, | |
age -> Integer, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment