Improve db migrations.

Move all migration code to python module and use it from app.py. Use Enum values to avoid problems with Enum names in DB.
This commit is contained in:
2025-07-03 12:04:03 +02:00
committed by Jens Luedicke
parent 387243d516
commit d4e56c5cde
7 changed files with 1440 additions and 1445 deletions

View File

@@ -91,12 +91,6 @@ The integrated migration system handles:
- Sample data initialization
- Data integrity maintenance during upgrades
**Legacy Migration Files**: The following files are maintained for reference but are no longer needed:
- `migrate_db.py`: Legacy core database migration (now integrated)
- `migrate_roles_teams.py`: Legacy role and team migration (now integrated)
- `migrate_projects.py`: Legacy project migration (now integrated)
- `repair_roles.py`: Legacy role repair utility (functionality now integrated)
### Configuration
The application can be configured through: