schema.rs
937 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
table! {
images (id) {
id -> Integer,
upload_uuid -> Nullable<Binary>,
uuid -> Nullable<Binary>,
size -> Integer,
dim_x -> Nullable<Integer>,
dim_y -> Nullable<Integer>,
mime_type -> Text,
date_created -> Text,
date_updated -> Text,
}
}
table! {
markdown_diffs (markdown_id, diff_id) {
markdown_id -> Integer,
diff_id -> Integer,
diff -> Binary,
date_created -> Text,
}
}
table! {
markdowns (id) {
id -> Integer,
name -> Text,
content -> Text,
number_of_versions -> Integer,
date_created -> Text,
date_updated -> Text,
}
}
table! {
users (id) {
id -> Integer,
name -> Text,
address -> Text,
date_created -> Text,
}
}
allow_tables_to_appear_in_same_query!(
images,
markdown_diffs,
markdowns,
users,
);