Commit graph

4 commits

Author SHA1 Message Date
Simon Bruder e83bc8316e
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-24 12:19:55 +02:00
Simon Bruder a528b9fe44
Add description to item and item class 2024-07-19 00:06:21 +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