Commit Graph

11 Commits

Author SHA1 Message Date
Nils-Johan Gynther d47d6466a8 fix(deploy): update seed script references to use full seed_all.sql 2026-05-03 11:38:38 +02:00
Nils-Johan Gynther b2eb870ec7 feat(receipt-import): add refresh categories endpoint and UI integration
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 10:48:06 +02:00
Nils-Johan Gynther 4e568b4d2e feat(migration): enforce ownerId requirement in Product table
- Removed all products without an owner to maintain data integrity.
- Updated ownerId column to be non-nullable.
- Modified foreign key constraint for ownerId to use ON DELETE CASCADE.
2026-05-02 19:05:33 +02:00
Nils-Johan Gynther ec24f49836 feat(categories): add new categories for Kondis & fika and Kaffebröd, and Te & choklad 2026-05-02 17:44:01 +02:00
Nils-Johan Gynther 1604751b65 feat(receipt-import): add rule-based category suggestion logic for items
feat(migrations): add new categories for lactose-free products and allergy options
2026-05-02 16:42:33 +02:00
Nils-Johan Gynther 96b98cdc2f feat: expand category structure in seed_all.sql with new categories and subcategories 2026-04-20 10:15:01 +02:00
Nils-Johan Gynther 924ef649fc refactor: reorganize seed_all.sql for improved clarity and structure 2026-04-19 23:13:09 +02:00
Nils-Johan Gynther c589447cf8 fix: add LIMIT clause to product category updates for 'Skafferi' to ensure single result 2026-04-19 22:58:14 +02:00
Nils-Johan Gynther 27af419320 fix: remove 'Övrigt' category and limit product category updates to a single result 2026-04-19 22:57:03 +02:00
Nils-Johan Gynther 89f70c74e5 fix: add LIMIT clause to category selection for 'Läsk' to ensure single result 2026-04-19 22:48:55 +02:00
Nils-Johan Gynther e7a1606816 Refactor code structure for improved readability and maintainability 2026-04-19 22:46:10 +02:00