Migration 0080: Home-Verschlüsselung je Organisation und Konto
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
41ea505391
commit
93d762ca35
1 file changed
+17
@@ -0,0 +1,17 @@
|
|||||||
|
BEGIN;
|
||||||
|
|
||||||
|
-- Verschlüsselte Homes persönlicher Konten (28.10.2026, platform-docs
|
||||||
|
-- roadmap/secure-boot-verschluesselung.md Schritt 5): je Organisation aus,
|
||||||
|
-- Wahl des Benutzers (Standard verschlüsselt, abwählbar) oder Pflicht. Die
|
||||||
|
-- Entscheidung gilt je Konto ab dem Einlösen der Einladung; ein Wechsel geht
|
||||||
|
-- nur über eine neue Personalisierung (fscrypt verschlüsselt nur leere
|
||||||
|
-- Verzeichnisse).
|
||||||
|
|
||||||
|
ALTER TABLE organizations
|
||||||
|
ADD COLUMN home_verschluesselung TEXT NOT NULL DEFAULT 'aus'
|
||||||
|
CHECK (home_verschluesselung IN ('aus', 'wahl', 'pflicht'));
|
||||||
|
|
||||||
|
ALTER TABLE personalisierungen
|
||||||
|
ADD COLUMN home_verschluesseln BOOLEAN NOT NULL DEFAULT FALSE;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
Reference in new issue
Block a user