feat: Kontakt-/Stammdaten je Organisation (organizations)
Neue Spalten kontakt_name, adresse, telefon, kontakt_email, notizen -
bewusst nur einfache Kontaktdaten, keine Richtlinien-/Sicherheitsfelder
(Network Profile/Secret Reference bleiben laut ADR-0001 weiterhin
unspezifiziert, eigenständiges Thema). Bestehender PATCH-Endpoint
(/api/v1/organizations/{id}) wird nur breiter, keine neue Route.
fetch_organizations() (Liste, fuer den Admin-Bereich) und
fetch_organization() (Einzelabruf, fuer Self-Service) beide erweitert,
damit intern und im Kundenportal dieselben Daten sichtbar sind.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e5b7081955
commit
34e5254984
2 files changed
+74
-9
No files matched your search
@@ -0,0 +1,16 @@
|
||||
BEGIN;
|
||||
|
||||
-- Kontakt-/Stammdaten je Organisation (Ansprechpartner, Adresse, Telefon,
|
||||
-- Kontakt-E-Mail, Notizen) - bislang hatte organizations ausser dem Namen
|
||||
-- keine Felder. Bewusst nur einfache Stammdaten, keine Richtlinien-/
|
||||
-- Sicherheitsfelder (Network Profile/Secret Reference bleiben laut
|
||||
-- ADR-0001/09-data-model-v1.md weiterhin unspezifiziert, eigenstaendiges
|
||||
-- Thema). Alle Spalten nullable - kein Pflichtfeld, bestehende und neue
|
||||
-- Organisationen starten leer.
|
||||
ALTER TABLE organizations ADD COLUMN kontakt_name TEXT;
|
||||
ALTER TABLE organizations ADD COLUMN adresse TEXT;
|
||||
ALTER TABLE organizations ADD COLUMN telefon TEXT;
|
||||
ALTER TABLE organizations ADD COLUMN kontakt_email TEXT;
|
||||
ALTER TABLE organizations ADD COLUMN notizen TEXT;
|
||||
|
||||
COMMIT;
|
||||
Reference in new issue
Block a user