Migration 0053: Ziel-OE fuer Enrollment-Sessions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-10-07 14:12:18 +02:00
1 parent 421e3edc45
commit 5187ad7be7
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
BEGIN;
-- Workspace-Creator neu, Schritt F (07.10.2026): Ein Installationsmedium
-- installiert in eine Ziel-OE. Aktivierte Geräte landen dort und bekommen den
-- Workspace dieser OE (ADR-0038). NULL = wie bisher Standard-OE der
-- Organisation.
ALTER TABLE enrollment_sessions ADD COLUMN ziel_oe_id UUID
REFERENCES organisationseinheiten(id) ON DELETE SET NULL;
COMMIT;