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