blob: 89315580974b57d31349a5c02aa7523bcdfc69d6 (
plain) (
tree)
|
|
table! {
films (id) {
id -> Int4,
title -> Varchar,
url -> Nullable<Varchar>,
}
}
table! {
rooms (id) {
id -> Int4,
name -> Varchar,
}
}
table! {
screenings (id) {
id -> Int4,
film_id -> Int4,
room_id -> Int4,
start_time -> Timestamptz,
end_time -> Timestamptz,
}
}
allow_tables_to_appear_in_same_query!(
films,
rooms,
screenings,
);
|