Commit graph

2 commits

Author SHA1 Message Date
Simon Bruder 00d7647187
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-19 00:05:26 +02:00
Simon Bruder 6251dea6a1
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-19 00:05:24 +02:00