upend/db/src/inner/schema.rs

24 lines
482 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,
}
}
2023-06-25 15:29:52 +02:00
allow_tables_to_appear_in_same_query!(data, meta,);