chore(schema): Update generated Diesel schema

Updates the generated schema with the new users table.

This commit will break the build.
This commit is contained in:
Vincent Ambo 2018-05-01 20:03:52 +02:00 committed by Vincent Ambo
parent 1d9ff8b4c8
commit a324a89fd0

View file

@ -22,8 +22,7 @@ table! {
thread_id -> Int4, thread_id -> Int4,
body -> Text, body -> Text,
posted -> Timestamptz, posted -> Timestamptz,
author_name -> Varchar, author -> Int4,
author_email -> Varchar,
} }
} }
@ -32,9 +31,17 @@ table! {
id -> Int4, id -> Int4,
title -> Varchar, title -> Varchar,
posted -> Timestamptz, posted -> Timestamptz,
author_name -> Varchar,
author_email -> Varchar,
sticky -> Bool, sticky -> Bool,
author -> Int4,
}
}
table! {
users (id) {
id -> Int4,
email -> Varchar,
name -> Varchar,
admin -> Bool,
} }
} }
@ -53,8 +60,11 @@ table! {
} }
joinable!(posts -> threads (thread_id)); joinable!(posts -> threads (thread_id));
joinable!(posts -> users (author));
joinable!(threads -> users (author));
allow_tables_to_appear_in_same_query!( allow_tables_to_appear_in_same_query!(
posts, posts,
threads, threads,
users,
); );