From bb95a66ffecf6ef120bf4e7eeee3e42ec1973522 Mon Sep 17 00:00:00 2001 From: Matthias Hochmeister Date: Mon, 13 Apr 2026 20:04:10 +0200 Subject: [PATCH] fix(migration): fix feature_groups column names (label, sort_order not name/maintenance_mode) Co-Authored-By: Claude Sonnet 4.6 --- .../src/database/migrations/084_persoenliche_ausruestung.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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