19 lines
1.4 KiB
Markdown
19 lines
1.4 KiB
Markdown
# Archived one-shot scripts
|
|
|
|
Diese Scripts haben einmal eine konkrete Daten- oder Code-Migration ausgefuehrt
|
|
und werden nicht mehr aktiv aufgerufen. Sie bleiben hier liegen, falls jemand
|
|
spaeter auf einem alten DB-Dump oder einem alten Branch nochmal denselben Stand
|
|
herstellen muss.
|
|
|
|
KEIN aktives Tool. Nicht aus CI, nicht aus Docs verlinken. Bei Aufraeumarbeiten
|
|
(z.B. nach 6 Monaten ohne Anwendung) loeschen.
|
|
|
|
## Inhalt
|
|
|
|
| Datei | Migrationsthema | Archiviert am | Begruendung |
|
|
|-------|-----------------|---------------|-------------|
|
|
| `check_orphan_featureinstance.py` | Vor-Ort-Check mit hardcoded FeatureInstance-/Mandate-UUIDs | 2026-04-29 | Ad-hoc fuer einen konkreten Vorfall |
|
|
| `script_db_cleanup_duplicate_roles.py` | Cleanup doppelter Roles wegen `IS NULL`-Bug in `connectorDbPostgre` | 2026-04-29 | Bug ist laengst gefixt, Cleanup ueberall durchgelaufen |
|
|
| `migrate_async_to_sync.py` | One-shot Codemod `async def` -> `def` fuer FastAPI-Routes | 2026-04-29 | Refactor abgeschlossen |
|
|
| `i18n_rekey_plaintext_keys.py` | Frontend `t('dot.notation')` -> `t('Klartext')` Rekey | 2026-04-29 | Frontend-Migration abgeschlossen (siehe `wiki/c-work/4-done/2026-04-ui-i18n-dynamic-language-sets.md`) |
|
|
| `script_db_migrate_accessrules_objectkeys.py` | AccessRule-Items: kurz -> vollqualifiziert (Navigation-API) | 2026-04-29 | Navigation-API live, MIGRATION_MAP nur fuer trustee+realestate hardcoded |
|