upend/db/src/inner/schema.rs

31 lines
555 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,
user -> Nullable<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,
}
}
2024-03-27 19:23:35 +01:00
table! {
users (id) {
id -> Integer,
username -> Text,
password -> Text,
}
}