// @generated automatically by Diesel CLI.

diesel::table! {
    movies (hash, user) {
        title -> Varchar,
        year -> Integer,
        size -> Bigint,
        hash -> Varchar,
        tmdb_id -> Nullable<Bigint>,
        audio_languages -> Nullable<Varchar>,
        subtitle_languages -> Nullable<Varchar>,
        resolution -> Nullable<Varchar>,
        dynamic_range -> Nullable<Varchar>,
        bitrate -> Nullable<Bigint>,
        user -> Varchar,
    }
}

diesel::table! {
    users (name) {
        name -> Varchar,
        hash -> Varchar,
        salt -> Varchar,
    }
}

diesel::table! {
    movie_additions (id) {
        id       -> Integer,
        tmdb_id  -> Bigint,
        title    -> Varchar,
        year     -> Integer,
        user     -> Varchar,
        size     -> Bigint,
        added_at -> Varchar,
    }
}

diesel::table! {
    milestones_announced (count) {
        count -> Bigint,
    }
}

diesel::allow_tables_to_appear_in_same_query!(movies, users,);
