Included the wrong schema.rs snippet

This commit is contained in:
R Tyler Croy 2020-09-15 18:00:02 -07:00
parent 07f2fcbc2f
commit fe04c1d5fd
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
1 changed files with 2 additions and 3 deletions

View File

@ -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<Timestamptz>,
}