upend/src/schema.rs

34 lines
503 B
XML

table! {
data (identity) {
identity -> Binary,
target -> Binary,
key -> Text,
value -> Text,
}
}
table! {
files (id) {
id -> Integer,
hash -> Binary,
path -> Text,
size -> BigInt,
created -> Timestamp,
valid -> Bool,
}
}
table! {
meta (id) {
id -> Nullable<Integer>,
key -> Text,
value -> Text,
}
}
allow_tables_to_appear_in_same_query!(
data,
files,
meta,
);