mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-23 23:27:57 +01:00
36 lines
627 B
Rust
36 lines
627 B
Rust
// @generated automatically by Diesel CLI.
|
|
|
|
diesel::table! {
|
|
user_kv (id) {
|
|
id -> Integer,
|
|
user -> Nullable<Integer>,
|
|
key -> Text,
|
|
value -> Binary,
|
|
}
|
|
}
|
|
|
|
diesel::table! {
|
|
user_roles (id) {
|
|
id -> Integer,
|
|
user -> Nullable<Integer>,
|
|
role -> Text,
|
|
}
|
|
}
|
|
|
|
diesel::table! {
|
|
users (id) {
|
|
id -> Integer,
|
|
name -> Text,
|
|
password -> Nullable<Text>,
|
|
}
|
|
}
|
|
|
|
diesel::joinable!(user_kv -> users (user));
|
|
diesel::joinable!(user_roles -> users (user));
|
|
|
|
diesel::allow_tables_to_appear_in_same_query!(
|
|
user_kv,
|
|
user_roles,
|
|
users,
|
|
);
|