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

65 lines
1.1 KiB
Rust

table! {
donation_crypto_addresses (id) {
id -> Int4,
name -> Varchar,
code -> Varchar,
address -> Varchar,
history -> Varchar,
}
}
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,
role -> Varchar,
}
}
table! {
employees (id) {
id -> Int4,
image -> Varchar,
name -> Varchar,
role -> Varchar,
}
}
table! {
reports (id) {
id -> Int4,
datetime -> Timestamp,
party -> Varchar,
amount -> Varchar,
download -> Varchar,
}
}
table! {
users (id) {
id -> Int4,
username -> Varchar,
encrypted_password -> Varchar,
}
}
allow_tables_to_appear_in_same_query!(
donation_crypto_addresses,
employee_contacts,
employee_infos,
employees,
reports,
users,
);