34 lines
545 B
XML
34 lines
545 B
XML
table! {
|
|
data (identity) {
|
|
identity -> Binary,
|
|
entity -> Binary,
|
|
attribute -> Text,
|
|
value -> Text,
|
|
}
|
|
}
|
|
|
|
table! {
|
|
files (id) {
|
|
id -> Integer,
|
|
hash -> Binary,
|
|
path -> Text,
|
|
valid -> Bool,
|
|
added -> Timestamp,
|
|
size -> BigInt,
|
|
mtime -> Nullable<Timestamp>,
|
|
}
|
|
}
|
|
|
|
table! {
|
|
meta (id) {
|
|
id -> Nullable<Integer>,
|
|
key -> Text,
|
|
value -> Text,
|
|
}
|
|
}
|
|
|
|
allow_tables_to_appear_in_same_query!(
|
|
data,
|
|
files,
|
|
meta,
|
|
);
|