kds/backend
jtricerolph 23889315f5 Scoped DB role + own theme colour (port log E17)
- Split database.py into a runtime engine (scoped `kds` DB role, used for
  all request handling) and a migration engine (privileged `kitchen` role,
  used only at startup to create KDS's own tables and ALTER kitchen_settings)
  — KDS previously shared kitchen's full-access DB credential wholesale
- Dispose both engines on shutdown (main.py)
- Fix theme colour clash: KDS was accidentally seeded with kitchen's teal
  (#0d9488) instead of its own colour — now #ea580c (orange), regenerated
  PWA icons to match

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-06 14:45:01 +00:00
..
api Initial KDS scaffold — Phase 2 kitchen port 2026-07-12 12:15:16 +00:00
migrations Initial KDS scaffold — Phase 2 kitchen port 2026-07-12 12:15:16 +00:00
models Fix SQLAlchemy mapper init error — remove back_populates from Resos models 2026-07-14 09:09:33 +00:00
services Initial KDS scaffold — Phase 2 kitchen port 2026-07-12 12:15:16 +00:00
auth.py Initial KDS scaffold — Phase 2 kitchen port 2026-07-12 12:15:16 +00:00
database.py Scoped DB role + own theme colour (port log E17) 2026-08-06 14:45:01 +00:00
Dockerfile Initial KDS scaffold — Phase 2 kitchen port 2026-07-12 12:15:16 +00:00
main.py Scoped DB role + own theme colour (port log E17) 2026-08-06 14:45:01 +00:00
requirements.txt Initial KDS scaffold — Phase 2 kitchen port 2026-07-12 12:15:16 +00:00