summaryrefslogtreecommitdiff
path: root/src/schema.rs
blob: 809706cd4ed4f485f63aaf097fc6b03b4783725c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
table! {
    config (singleton) {
        strava_client_secret -> Varchar,
        strava_client_id -> Varchar,
        rocket_secret_key -> Varchar,
        singleton -> Bool,
    }
}

table! {
    users (username) {
        username -> Varchar,
        password -> Varchar,
    }
}

allow_tables_to_appear_in_same_query!(
    config,
    users,
);