diff options
author | Melody Horn <melody@boringcactus.com> | 2021-06-30 15:58:48 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-06-30 15:58:48 -0600 |
commit | b4c7c3cd480e626ac78b49ab91a95340ccfef26a (patch) | |
tree | c1966362001b67b80e8f54a7a9f94be8a47aaf7c /examples/tutorial02/polls | |
parent | bdfdcb98d39d1887b08748e1ea629f0a83f340a4 (diff) | |
download | tosin-b4c7c3cd480e626ac78b49ab91a95340ccfef26a.tar.gz tosin-b4c7c3cd480e626ac78b49ab91a95340ccfef26a.zip |
finish inserting save_mut for models
Diffstat (limited to 'examples/tutorial02/polls')
-rw-r--r-- | examples/tutorial02/polls/models.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tutorial02/polls/models.rs b/examples/tutorial02/polls/models.rs index 48e58cc..cd480da 100644 --- a/examples/tutorial02/polls/models.rs +++ b/examples/tutorial02/polls/models.rs @@ -17,7 +17,7 @@ pub struct Choice { #[model(max_length = 200)] choice_text: String, #[model(default = 0)] - votes: usize, + votes: i64, } gather!(); |