585a4a6eb7
fix(debug): add logging to solve db saving issues
2025-02-21 15:11:11 +03:00
63aaa57fa1
refactor(imports): remove unused imports
2025-02-20 15:57:02 +03:00
a379e93f44
feat(db): add proper error handling to schema table creation
2025-02-20 15:01:29 +03:00
a8d8e9a131
feat(db): migrate to relational property storage
...
-Removed JSON (de)serialization from DbItem struct
-Added direct Item struct handling in database operations
-remove insert_item function
2025-02-19 22:45:24 +03:00
74bd1a89e5
feat(db): edit database schema and item insertion logic
...
* Added a junction table for custom properties to improve data normalization
* Modified the `insert_item_by_url` function to handle custom properties through the junction table
* Introduced `get_url_id` and `get_or_create_property` helper functions for improved code organization
* Updated the `insert_item_by_url` function to use the new helper functions and handle custom properties correctly
* Improved error handling and logging throughout the database module
2025-02-18 23:38:45 +03:00
ecc991cc24
feat(db): add properties table and junction table for custom properties
2025-02-17 17:04:16 +03:00
bfded464c9
feat(db): update db.rs to save url specific items and properties
2025-02-12 15:55:17 +03:00
ce1e93fc49
feat(db): create new URL table and update the existing table to include a foreign key to the URLs table
2025-02-11 23:36:43 +03:00
68b458df5e
feat(db): enable user to delete items and properties from the database.
2025-01-28 14:36:17 +03:00
fc13b0dae6
feat(db): enable db to update items keeping track of the item's id
2025-01-24 01:54:25 +03:00
291cb05847
feat(db): run db on backend using actix web
2025-01-22 20:16:43 +03:00
af3f89c561
feat(db): add API endpoint for updating items to db and implement server-side functionality
2025-01-22 14:14:18 +03:00
dc70316bae
fix(db): db debugging (in progress)
2025-01-20 18:49:54 +03:00
c8f32d027f
feat(db): add a database using rusqlite.
2025-01-17 18:51:59 +03:00