aboutsummaryrefslogtreecommitdiffstats
path: root/src/schema.rs
blob: efa9ddcc72c8c645ce3bf658065c3a0858a378ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
table! {
    history (id) {
        id -> Int8,
        client_id -> Text,
        user_id -> Int8,
        mac -> Varchar,
        timestamp -> Timestamp,
        data -> Varchar,
    }
}

table! {
    sessions (id) {
        id -> Int8,
        user_id -> Int8,
        token -> Varchar,
    }
}

table! {
    users (id) {
        id -> Int8,
        email -> Varchar,
        password -> Varchar,
    }
}

allow_tables_to_appear_in_same_query!(history, sessions, users,);