feat: Migration 010+011 - Stilrichtungen + Trainingsstil-Dimension
Migration 010: Umbenennung (konsistente Terminologie) - training_styles → style_directions - exercise_styles → exercise_style_directions - training_style_target_groups → style_direction_target_groups - training_style_id → style_direction_id (in Junction-Tabellen) - Idempotent mit IF EXISTS checks Migration 011: Neue Dimension "Trainingsstil" - Neue Tabelle training_types (Breitensport, Leistungssport, Wettkampf) - Seed-Daten: 3 Standard-Trainingsstile - Junction-Tabelle exercise_training_types (M:N) - Indizes für Performance - ON DELETE RESTRICT: Training Types können nicht gelöscht werden wenn zugeordnet Architektur: - Fokusbereich (Karate) → Stilrichtung (Shotokan) → Trainingsstil (Breitensport) → Zielgruppe (Kinder) - Alle M:N für maximale Flexibilität - KI-freundlich: Flache Dimensionen, einfache Queries Version: 0.4.0 (BREAKING - nur DB-Migrationen, Backend/Frontend folgen)
This commit is contained in:
1 parent
cedb97eb9b
commit
62b5b4c2fd
3 files changed
+146
-1
No files matched your search
+14
-1
@@ -1,6 +1,6 @@
|
||||
# Shinkan Jinkendo Version Information
|
||||
|
||||
APP_VERSION = "0.3.4"
|
||||
APP_VERSION = "0.4.0"
|
||||
BUILD_DATE = "2026-04-23"
|
||||
DB_SCHEMA_VERSION = "20260423"
|
||||
|
||||
@@ -22,6 +22,19 @@ MODULE_VERSIONS = {
|
||||
}
|
||||
|
||||
CHANGELOG = [
|
||||
{
|
||||
"version": "0.4.0",
|
||||
"date": "2026-04-23",
|
||||
"changes": [
|
||||
"BREAKING: Migration 010 - Umbenennung training_styles → style_directions",
|
||||
"BREAKING: Migration 011 - Neue Dimension training_types (Breitensport/Leistungssport)",
|
||||
"DB: Konsistente Terminologie - Stilrichtungen vs. Trainingsstile",
|
||||
"DB: Neue Tabelle training_types mit Seed-Daten (Breitensport, Leistungssport, Wettkampf)",
|
||||
"DB: Neue Junction-Tabelle exercise_training_types (M:N)",
|
||||
"Architektur: Fokusbereich → Stilrichtung → Trainingsstil → Zielgruppe (alle M:N)",
|
||||
"Phase 1: Nur Datenbank-Migrationen - Backend/Frontend-Updates folgen",
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "0.3.4",
|
||||
"date": "2026-04-23",
|
||||
|
||||
Reference in new issue
Block a user