kitchen/backend
jtricerolph 14903e80a6 Seed kitchens id=1 on startup to satisfy kitchen_settings FK
kitchen_settings has a FK to kitchens.id — on a fresh kitchen_db the
kitchens table is empty, so any restore attempt fails with a FK violation.
Idempotent INSERT ON CONFLICT DO NOTHING runs after create_all on every boot.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-12 16:38:47 +00:00
..
api Add get_current_user_from_token to auth.py; fix missing import in 3 api files 2026-07-12 12:34:01 +00:00
migrations Add .gitignore, remove __pycache__ from tracking 2026-07-12 12:16:04 +00:00
models Add .gitignore, remove __pycache__ from tracking 2026-07-12 12:16:04 +00:00
ocr Add .gitignore, remove __pycache__ from tracking 2026-07-12 12:16:04 +00:00
services Add .gitignore, remove __pycache__ from tracking 2026-07-12 12:16:04 +00:00
auth.py Add get_current_user_from_token to auth.py; fix missing import in 3 api files 2026-07-12 12:34:01 +00:00
database.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
Dockerfile Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
main.py Seed kitchens id=1 on startup to satisfy kitchen_settings FK 2026-07-12 16:38:47 +00:00
requirements.txt Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
scheduler.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00