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

42 lines
659 B
Rust
Raw Normal View History

2020-10-21 01:29:13 -04:00
table! {
employee_contacts (id) {
id -> Int4,
employee_id -> Int4,
name -> Varchar,
link -> Varchar,
}
}
table! {
employee_infos (id) {
id -> Int4,
employee_id -> Int4,
locale -> Varchar,
name -> Varchar,
2020-10-21 01:15:05 -04:00
role -> 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
}
}
allow_tables_to_appear_in_same_query!(
2020-10-21 01:29:13 -04:00
employee_contacts,
employee_infos,
employees,
users,
);