// @generated automatically by Diesel CLI.
diesel::table! {
actions (id) {
id -> Uuid,
created_at -> Timestamp,
updated_at -> Timestamp,
invoker -> Uuid,
data -> Json,
timestamp -> Timestamp,
}
}
diesel::table! {
gamedata (id) {
id -> Uuid,
created_at -> Timestamp,
updated_at -> Timestamp,
turn -> Int2,
host_hand -> Nullable<Json>,
host_deck -> Nullable<Json>,
guest_hand -> Nullable<Json>,
guest_deck -> Nullable<Json>,
}
}
diesel::table! {
users (id) {
id -> Uuid,
created_at -> Timestamp,
updated_at -> Timestamp,
username -> Varchar,
email -> Varchar,
password -> Varchar,
}
}
diesel::joinable!(actions -> users (invoker));
diesel::allow_tables_to_appear_in_same_query!(
actions,
gamedata,
users,
);