Simon Bruder
8ad091b911
Add item state
/ build (push) Successful in 3m27s
2024-07-24 00:08:34 +02:00
Simon Bruder
5b3dd34312
Move away from models and manage subpackage
...
This architecture was started when the project still used Diesel.
Now that it uses SQLx, less things are done in Rust and more are done in
SQL. This commit now moves more of the query logic into SQL, which
should lead to more efficient queries and less moving data around.
2024-07-21 23:43:53 +02:00
Simon Bruder
b55c8373d3
Fix item order in get_parents_details
2024-07-19 00:06:31 +02:00
Simon Bruder
125627d7d2
Allow batch adding items
2024-07-19 00:06:30 +02:00
Simon Bruder
a528b9fe44
Add description to item and item class
2024-07-19 00:06:21 +02:00
Simon Bruder
c67e31fdc5
Add original packaging attribute to items
2024-07-19 00:06:17 +02:00
Simon Bruder
09dfac9104
Add quick jump feature
2024-07-19 00:06:05 +02:00
Simon Bruder
1427ed9bf4
Add short id to item for usage with labels
2024-07-19 00:05:36 +02:00
Simon Bruder
4f230af334
Add creation date to allow consistent ordering
2024-07-19 00:05:29 +02:00
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