da54f700717c6e2da02301b4c899379e0799f333
Migration 0003 adds the concept's tables: dishes with ingredients, steps and translations, stores and aisles, rounds, wishes, slots, shopping items, pantry staples, receipts and lines, ingredient aliases, price points, ratings, kudos, helper points, achievements, plus global canonical ingredients (readable by all, writable only in migrations). Every household table carries household_id with FORCE RLS, and references inside a household are paired foreign keys so a row can never point at another household's data (E-0007). Roles follow the concept: admin, member, child, guest; households.created_by marks who set up (E-0008). The two-household test seeds every table for two households and reads each one against the other. lib/backup.ts writes a backup to /app/data/sicherungen after changes (checked every five minutes, at least every six hours, last 14 kept); an empty database offers it on /einrichten for restore with the setup code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q
Was gibt's? (lunch)
Die Familie entscheidet gemeinsam, was es warm gibt, und aus dem Plan entsteht die Einkaufsliste — als PWA auf der eigenen Olares One. Konzept in docs/konzept.md, Weichen in docs/entscheidungen.md, Regeln für jede Sitzung in CLAUDE.md, Daten und Arbeitspakete für den Start in docs/PROJEKTSTART.md.