DeutschLernen/GermanApp
Lasse Rune Hansen 6ac2210e50 feat(backend/database): add migrations for Level, Lesson, and UserProgress tables
- Created migration 20260607192743_AddLessonManagementTables
- Renames old 'Level' column to 'Order' in Lessons table
- Adds LevelId, Topic, IsActive columns to Lessons
- Creates Levels table with Id, Name, Code, Order
- Creates UserProgress table with UserId, LessonId, IsCompleted, QuizScore, LastAttemptDate
- Adds foreign key from Lessons to Levels
- Adds foreign keys from UserProgress to Users and Lessons
- Adds unique indexes for Level.Code, Level.Order, Lesson.LevelId_Order, UserProgress.UserId_LessonId
- Temporarily commented out seeding during migration creation to avoid EF Core tooling issues

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-08 17:44:45 +02:00
..
Application fix(backend): update Lesson entity and related code to use LevelId foreign key 2026-06-07 21:25:46 +02:00
Domain fix(backend): update Lesson entity and related code to use LevelId foreign key 2026-06-07 21:25:46 +02:00
Infrastructure feat(backend/database): add migrations for Level, Lesson, and UserProgress tables 2026-06-08 17:44:45 +02:00
Presentation fix(backend): update Lesson entity and related code to use LevelId foreign key 2026-06-07 21:25:46 +02:00
Properties Initial commit: GermanApp with Clean Architecture 2026-05-31 18:14:51 +02:00
Shared feat(backend/infra): add health checks, CORS, Serilog logging, and exception middleware 2026-05-31 19:52:00 +02:00
.dockerignore feat(backend/infra): add Docker configuration for Phase 3 2026-06-05 11:46:27 +02:00
appsettings.Development.json feat(backend/infra): configure PostgreSQL database for EF Core 2026-05-31 19:40:34 +02:00
appsettings.json feat(backend/auth): implement User Authentication feature 2026-06-05 13:27:43 +02:00
appsettings.Production.json feat(backend/infra): configure PostgreSQL database for EF Core 2026-05-31 19:40:34 +02:00
appsettings.Staging.json feat(backend/infra): configure PostgreSQL database for EF Core 2026-05-31 19:40:34 +02:00
Dockerfile fix(infra): remove problematic health checks for now 2026-06-05 13:03:10 +02:00
GermanApp.csproj feat(backend): complete unit tests for User Authentication feature 2026-06-05 17:07:15 +02:00
GermanApp.http Initial commit: GermanApp with Clean Architecture 2026-05-31 18:14:51 +02:00
Program.cs feat(backend/database): add migrations for Level, Lesson, and UserProgress tables 2026-06-08 17:44:45 +02:00