feat: Migration 009 - Zielgruppen M:N Refactoring
Backend Phase A (Database + API):
- Migration 009: target_groups.training_style_id entfernt
- Migration 009: Neue Junction-Tabelle training_style_target_groups
- Migration 009: Datenmigration alte → neue Struktur (idempotent)
- API: 5 neue Endpoints für M:N Management
* GET /training-style-target-groups (mit Enrichment)
* POST /training-style-target-groups (Upsert-Logik)
* PUT /training-style-target-groups/{id} (is_primary)
* DELETE /training-style-target-groups/{id}
* GET /training-styles/hierarchy (für Tree-View)
- API: GET/POST/PUT /target-groups jetzt global (ohne training_style_id)
- API: DELETE /target-groups prüft beide Tabellen (CASCADE-Schutz)
Architecture:
- Eine Zielgruppe kann mehreren Stilen zugeordnet werden
- Basis für Admin Tree-View + M:N Matrix UI
Version: 0.3.4
Module: catalogs 1.3.0
This commit is contained in:
1 parent
2a5f06a8f5
commit
1e5e18c0b3
3 files changed
+269
-3
No files matched your search
+17
-2
@@ -1,6 +1,6 @@
|
||||
# Shinkan Jinkendo Version Information
|
||||
|
||||
APP_VERSION = "0.3.3"
|
||||
APP_VERSION = "0.3.4"
|
||||
BUILD_DATE = "2026-04-23"
|
||||
DB_SCHEMA_VERSION = "20260423"
|
||||
|
||||
@@ -18,10 +18,25 @@ MODULE_VERSIONS = {
|
||||
"import_wiki": "0.1.0",
|
||||
"admin": "1.0.0",
|
||||
"membership": "1.0.0",
|
||||
"catalogs": "1.2.0", # Updated: Target Groups CRUD + Admin UI
|
||||
"catalogs": "1.3.0", # Updated: M:N Zielgruppen-Zuordnung (Migration 009)
|
||||
}
|
||||
|
||||
CHANGELOG = [
|
||||
{
|
||||
"version": "0.3.4",
|
||||
"date": "2026-04-23",
|
||||
"changes": [
|
||||
"BREAKING: Migration 009 - Zielgruppen M:N Refactoring",
|
||||
"DB: target_groups.training_style_id entfernt (jetzt global unabhängig)",
|
||||
"DB: Neue Junction-Tabelle training_style_target_groups (M:N)",
|
||||
"API: 5 neue Endpoints für M:N Management (GET/POST/PUT/DELETE + hierarchy)",
|
||||
"API: GET /training-style-target-groups mit Enrichment (focus_area_name, training_style_name)",
|
||||
"API: GET /training-styles/hierarchy für Tree-View (verschachtelte Struktur)",
|
||||
"API: POST /training-style-target-groups mit Upsert-Logik",
|
||||
"Backward-Compatible: exercise_target_groups weiterhin unterstützt",
|
||||
"Architecture: Eine Zielgruppe kann mehreren Stilen zugeordnet werden",
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "0.3.3",
|
||||
"date": "2026-04-23",
|
||||
|
||||
Reference in new issue
Block a user