DeutschLernen/GermanApp/Infrastructure/Data/Migrations
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
..
20260531174249_InitialCreate.cs feat(backend/infra): add User entity, database migrations, and seed data 2026-05-31 19:44:29 +02:00
20260531174249_InitialCreate.Designer.cs feat(backend/infra): add User entity, database migrations, and seed data 2026-05-31 19:44:29 +02:00
20260605131551_AddRefreshTokensTable.cs feat(backend): complete unit tests for User Authentication feature 2026-06-05 17:07:15 +02:00
20260605131551_AddRefreshTokensTable.Designer.cs feat(backend): complete unit tests for User Authentication feature 2026-06-05 17:07:15 +02:00
20260607192743_AddLessonManagementTables.cs feat(backend/database): add migrations for Level, Lesson, and UserProgress tables 2026-06-08 17:44:45 +02:00
20260607192743_AddLessonManagementTables.Designer.cs feat(backend/database): add migrations for Level, Lesson, and UserProgress tables 2026-06-08 17:44:45 +02:00
AppDbContextModelSnapshot.cs feat(backend/database): add migrations for Level, Lesson, and UserProgress tables 2026-06-08 17:44:45 +02:00