diff --git a/backend/src/database/migrations/084_persoenliche_ausruestung.sql b/backend/src/database/migrations/084_persoenliche_ausruestung.sql index 9b9b6ee..089c7a3 100644 --- a/backend/src/database/migrations/084_persoenliche_ausruestung.sql +++ b/backend/src/database/migrations/084_persoenliche_ausruestung.sql @@ -45,8 +45,8 @@ ALTER TABLE ausruestung_anfrage_positionen ADD COLUMN IF NOT EXISTS zuweisung_persoenlich_id UUID REFERENCES persoenliche_ausruestung(id) ON DELETE SET NULL; -- 3. Feature group + permissions -INSERT INTO feature_groups (id, name, maintenance_mode) -VALUES ('persoenliche_ausruestung', 'Persönliche Ausrüstung', false) +INSERT INTO feature_groups (id, label, sort_order) +VALUES ('persoenliche_ausruestung', 'Persönliche Ausrüstung', 99) ON CONFLICT DO NOTHING; INSERT INTO permissions (id, feature_group_id, description) VALUES