aboutsummaryrefslogtreecommitdiff
path: root/src/db/schema.rs
blob: b29a1ca5ac0ad2efac82c07938ff79960f7379a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
table! {
    audio_memes (id) {
        id -> Int4,
        title -> Varchar,
        link -> Varchar,
    }
}

table! {
    text_memes (id) {
        id -> Int4,
        title -> Varchar,
        content -> Text,
        pic_related -> Varchar,
    }
}

allow_tables_to_appear_in_same_query!(
    audio_memes,
    text_memes,
);