1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
fedihub-website/src/schema.rs

33 lines
520 B
Rust
Raw Normal View History

table! {
employee_infos (id) {
id -> Int4,
employee_id -> Int4,
locale -> Varchar,
name -> Varchar,
}
}
table! {
employees (id) {
id -> Int4,
name -> Varchar,
role -> Varchar,
}
}
2020-10-14 16:36:24 -04:00
table! {
users (id) {
id -> Int4,
username -> Varchar,
encrypted_password -> Varchar,
2020-10-14 16:36:24 -04:00
}
}
joinable!(employee_infos -> employees (employee_id));
allow_tables_to_appear_in_same_query!(
employee_infos,
employees,
users,
);