| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
The way we had this until now with a date and separate start and end
times does not really work. There are cases when a screening starts on
one day, but ends on the next. By keeping a complete timestamp for both
the start and end times, we don't fall into this problem.
|
|
|
|
|
| |
serde_derive is included by passing the 'derive' feature to serde
instead.
|
| |
|
| |
|
|
|
|
|
| |
This makes each screening record self-contained, and the json
payload more consistent with how it semantically fit together.
|
|
|
|
|
|
| |
Makes tha API a bit nicer by asking the database rather than
passing the database on to each model. Reserve models for
method/functions that work on the model structs themselves.
|
|
Not entirely happy about the way this turned out for now. A more ergonomic
return type from the models::screenings::get_all() function will be
investigated.
|