fix(migration): fix feature_groups column names (label, sort_order not name/maintenance_mode)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthias Hochmeister
2026-04-13 20:04:10 +02:00
parent 1ad328edd3
commit bb95a66ffe

View File

@@ -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; ADD COLUMN IF NOT EXISTS zuweisung_persoenlich_id UUID REFERENCES persoenliche_ausruestung(id) ON DELETE SET NULL;
-- 3. Feature group + permissions -- 3. Feature group + permissions
INSERT INTO feature_groups (id, name, maintenance_mode) INSERT INTO feature_groups (id, label, sort_order)
VALUES ('persoenliche_ausruestung', 'Persönliche Ausrüstung', false) VALUES ('persoenliche_ausruestung', 'Persönliche Ausrüstung', 99)
ON CONFLICT DO NOTHING; ON CONFLICT DO NOTHING;
INSERT INTO permissions (id, feature_group_id, description) VALUES INSERT INTO permissions (id, feature_group_id, description) VALUES