fix(db): add missing journal entries for migrations 0041-0042
The classroom system migration files (0041_classroom-system.sql and 0042_classroom-system-indexes.sql) were created manually without using drizzle-kit generate, so they weren't registered in _journal.json. This caused drizzle to skip these migrations, resulting in: - No parent_child table - No family_code column on players - No classrooms/enrollments tables Fixes production error on /practice page. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -288,6 +288,20 @@
|
||||
"when": 1766320890578,
|
||||
"tag": "0040_rename_last_help_level_to_last_had_help",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 41,
|
||||
"version": "6",
|
||||
"when": 1766404380000,
|
||||
"tag": "0041_classroom-system",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 42,
|
||||
"version": "6",
|
||||
"when": 1766406120000,
|
||||
"tag": "0042_classroom-system-indexes",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user