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.
2020-10-21 06:54:09 +00:00
|
|
|
table! {
|
|
|
|
donation_crypto_addresses (id) {
|
|
|
|
id -> Int4,
|
|
|
|
name -> Varchar,
|
|
|
|
code -> Varchar,
|
|
|
|
address -> Varchar,
|
|
|
|
history -> Varchar,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-21 05:29:13 +00:00
|
|
|
table! {
|
|
|
|
employee_contacts (id) {
|
|
|
|
id -> Int4,
|
|
|
|
employee_id -> Int4,
|
|
|
|
name -> Varchar,
|
|
|
|
link -> Varchar,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-21 04:46:54 +00:00
|
|
|
table! {
|
|
|
|
employee_infos (id) {
|
|
|
|
id -> Int4,
|
|
|
|
employee_id -> Int4,
|
|
|
|
locale -> Varchar,
|
|
|
|
name -> Varchar,
|
2020-10-21 05:15:05 +00:00
|
|
|
role -> Varchar,
|
2020-10-21 04:46:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table! {
|
|
|
|
employees (id) {
|
|
|
|
id -> Int4,
|
2020-10-21 06:38:49 +00:00
|
|
|
image -> Varchar,
|
2020-10-21 04:46:54 +00:00
|
|
|
name -> Varchar,
|
|
|
|
role -> Varchar,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-22 04:51:02 +00:00
|
|
|
table! {
|
|
|
|
reports (id) {
|
|
|
|
id -> Int4,
|
|
|
|
datetime -> Timestamp,
|
|
|
|
party -> Varchar,
|
|
|
|
amount -> Varchar,
|
|
|
|
download -> Varchar,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-14 20:36:24 +00:00
|
|
|
table! {
|
|
|
|
users (id) {
|
|
|
|
id -> Int4,
|
|
|
|
username -> Varchar,
|
2020-10-14 23:17:55 +00:00
|
|
|
encrypted_password -> Varchar,
|
2020-10-14 20:36:24 +00:00
|
|
|
}
|
|
|
|
}
|
2020-10-21 04:46:54 +00:00
|
|
|
|
|
|
|
allow_tables_to_appear_in_same_query!(
|
2020-10-21 06:54:09 +00:00
|
|
|
donation_crypto_addresses,
|
2020-10-21 05:29:13 +00:00
|
|
|
employee_contacts,
|
2020-10-21 04:46:54 +00:00
|
|
|
employee_infos,
|
|
|
|
employees,
|
2020-10-22 04:51:02 +00:00
|
|
|
reports,
|
2020-10-21 04:46:54 +00:00
|
|
|
users,
|
|
|
|
);
|