feat(bestellungen): add optional "Für Mitglied" field, auto-populated from internal request submitter

This commit is contained in:
Matthias Hochmeister
2026-04-15 18:17:54 +02:00
parent 67fd0878ce
commit eb2342684e
8 changed files with 86 additions and 13 deletions

View File

@@ -0,0 +1,3 @@
-- Add optional mitglied_id (the member an order is for) to bestellungen
ALTER TABLE bestellungen
ADD COLUMN IF NOT EXISTS mitglied_id UUID REFERENCES users(id) ON DELETE SET NULL;