From fe04c1d5fd18db9e1490fd9f5e27e02660246e23 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Tue, 15 Sep 2020 18:00:02 -0700 Subject: [PATCH] Included the wrong schema.rs snippet --- _posts/2020-09-15-surprise-nullable-types-diesel.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_posts/2020-09-15-surprise-nullable-types-diesel.md b/_posts/2020-09-15-surprise-nullable-types-diesel.md index 9e5628d..c21ee17 100644 --- a/_posts/2020-09-15-surprise-nullable-types-diesel.md +++ b/_posts/2020-09-15-surprise-nullable-types-diesel.md @@ -37,10 +37,9 @@ I stumbled into [this closed issue](https://github.com/diesel-rs/diesel/issues/2 ```rust table! { - votes (id) { + choices (id) { id -> Int4, - voter -> Text, - choice_id -> Int4, + details -> Text, poll_id -> Int4, created_at -> Nullable, }