Commit graph

7 commits

Author SHA1 Message Date
Simon Bruder f030d16d09
Switch to sqlx
While diesel has a native rust interface, writing more complex queries
is easier when you can just pass a SQL query string.
2024-07-11 17:25:01 +02:00
Simon Bruder 52fcda5cfe
Show children in item class details 2024-07-11 13:50:59 +02:00
Simon Bruder de65452a01
Simplify item class model
Whether an item class is generic or specific can be deduced from whether
a parent exists or not.

While the SQL migration (especially the down direction) is quite
complex, it simplifies the handling quite a bit.
2024-07-11 13:25:09 +02:00
Simon Bruder 4a2dc721d4
Switch to maud for templating 2024-07-11 01:17:04 +02:00
Simon Bruder 089657d5da
Show item class parent in listing 2024-07-11 01:16:42 +02:00
Simon Bruder 21c99a1677
Use diesel-async
This simplifies running queries, as it avoids having to use web::block
for everything.
2024-07-11 01:16:39 +02:00
Simon Bruder 775bc6ba9e
Add item classes 2024-07-11 01:16:37 +02:00