2020-09-13 16:07:06 +00:00
|
|
|
table! {
|
|
|
|
members (id) {
|
2020-09-13 16:55:29 +00:00
|
|
|
id -> Integer,
|
2020-09-13 16:07:06 +00:00
|
|
|
cmene -> Text,
|
|
|
|
picurl -> Text,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table! {
|
|
|
|
switches (id) {
|
|
|
|
id -> Text,
|
|
|
|
who -> Text,
|
|
|
|
started_at -> Text,
|
|
|
|
ended_at -> Nullable<Text>,
|
|
|
|
duration -> Text,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allow_tables_to_appear_in_same_query!(
|
|
|
|
members,
|
|
|
|
switches,
|
|
|
|
);
|