Skip to content

Conversation

@nicholaspsmith
Copy link
Owner

Summary

This is a hotfix to resolve production study sessions which are broken because the migration didn't run properly. The custom db-migrate.ts script uses the _migrations table which matches the production setup and ensures migrations are applied correctly.

Details

  • Updated migration runner to use the custom db-migrate.ts script instead of relying on the default drizzle migration mechanism
  • The custom script properly handles the _migrations table tracking that production uses
  • This restores functionality to study sessions that were blocked by missing migrations

Testing

  • Pre-push checks and unit tests passed
  • Ready for review and merge

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@nicholaspsmith nicholaspsmith merged commit 4de8d38 into main Jan 14, 2026
9 checks passed
@nicholaspsmith nicholaspsmith deleted the hotfix/migration-runner-custom-script branch January 14, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants