upend/src/database/inner/schema.rs

27 lines
492 B
Rust
Raw Normal View History

2020-09-06 00:35:08 +02:00
table! {
data (identity) {
identity -> Binary,
entity -> Binary,
entity_searchable -> Nullable<Text>,
attribute -> Text,
value_str -> Nullable<Text>,
value_num -> Nullable<Double>,
immutable -> Bool,
provenance -> Text,
timestamp -> Timestamp,
2020-09-06 00:35:08 +02:00
}
}
2020-09-07 21:21:54 +02:00
table! {
meta (id) {
id -> Integer,
2020-09-07 21:21:54 +02:00
key -> Text,
value -> Text,
}
}
allow_tables_to_appear_in_same_query!(
data,
meta,
);