aboutsummaryrefslogblamecommitdiffstats
path: root/src/schema.rs
blob: 88e1e00c69289af63c841444041ec42aaedf52e1 (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,
        date -> Date,
        start_time -> Time,
        end_time -> Time,
    }
}

allow_tables_to_appear_in_same_query!(
    films,
    rooms,
    screenings,
);