GeneIT/geneit_backend/src/manual_schema.rs

13 lines
302 B
Rust
Raw Permalink Normal View History

2023-06-19 17:00:35 +00:00
diesel::table! {
families_memberships (user_id, family_id) {
user_id -> Int4,
family_id -> Int4,
name -> Varchar,
time_create -> Int8,
is_admin -> Bool,
invitation_code -> Varchar,
2023-06-20 16:55:14 +00:00
count_members -> Int8,
count_admins -> Int8,
2023-06-19 17:00:35 +00:00
}
}