TeamVis Self-Host-Bundle v0.31.0
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
-- Stabsstellen-Flag auf positions.
|
||||
-- ====================================================================
|
||||
-- Stabsstellen (DSB, SiBe, ISB, ImSchBe, Brandschutzbeauftragter,
|
||||
-- Techn. Führungskräfte, Controlling, Ausbilder, …) gehören organisatorisch
|
||||
-- nicht in die Linien-Hierarchie, sondern hängen seitlich am
|
||||
-- Verantwortungsträger (meist GF). Im Datenmodell behalten sie ihren
|
||||
-- parent_id (für die Anbindung), bekommen aber eine andere Edge-Visual
|
||||
-- in der Visualisierung.
|
||||
|
||||
alter table public.positions
|
||||
add column if not exists is_staff_position boolean not null default false;
|
||||
|
||||
create index if not exists positions_is_staff_position_idx
|
||||
on public.positions (is_staff_position) where is_staff_position = true;
|
||||
Reference in New Issue
Block a user