23 lines
355 B
Rust
23 lines
355 B
Rust
|
table! {
|
||
|
members (id) {
|
||
|
id -> Nullable<Integer>,
|
||
|
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,
|
||
|
);
|