| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Rust will run tests in parallel by default, which does not work
too well with using db transactions as a means to isolate changes
in the database between tests. So we have to run the database
tests one at a time, thus the mutex.
|
|
|