TeamVis Self-Host-Bundle v0.31.0

This commit is contained in:
TeamVis Release
2026-06-25 16:38:31 +02:00
commit 717325742d
68 changed files with 3762 additions and 0 deletions
@@ -0,0 +1,14 @@
-- Granulare Kontrolle, welche Felder der Trusted-Link zusätzlich freischaltet.
-- Array aus String-Tokens wie 'mobile', 'linkedin', 'xing'. Leer = wie vorher
-- (nur implizit Mobilnummer, wird in der Migration unten auf 'mobile' gehoben,
-- damit bestehende Trusted-Links ihre bisherige Wirkung behalten).
alter table public.employees
add column if not exists trusted_reveal text[] not null default '{}';
-- Bestehende aktive Tokens: als "zeigt Mobilnummer" markieren, damit das
-- Verhalten vor dem Deploy identisch bleibt.
update public.employees
set trusted_reveal = array['mobile']
where trusted_token is not null
and coalesce(array_length(trusted_reveal, 1), 0) = 0;