Simon Bruder
22e284c34f
Add description to item and item class
2024-07-14 15:17:04 +02:00
Simon Bruder
5a80201850
Add original packaging attribute to items
2024-07-13 16:16:30 +02:00
Simon Bruder
c8d547998c
Add short id to item for usage with labels
2024-07-12 00:53:46 +02:00
Simon Bruder
375fa7740e
Add creation date to allow consistent ordering
2024-07-11 21:50:03 +02:00
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
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
c4a73204aa
Make item name optional
...
This vastly changes how item names are displayed. To make this more
ergonomic, it adds some helper macros. This also aids in adhering to
DRY.
2024-07-11 01:16:45 +02:00
Simon Bruder
775bc6ba9e
Add item classes
2024-07-11 01:16:37 +02:00
Simon Bruder
ffddf2ba00
Add parent to item
2024-07-11 01:16:35 +02:00
Simon Bruder
f4ba4e9733
Init
2024-07-11 01:16:00 +02:00