[PR #5762] docs: change migration guide to include email verified #14455

Closed
opened 2026-04-13 09:28:57 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5762

State: closed
Merged: No


closes #5726


Summary by cubic

Updates the NextAuth migration guide to cover converting the emailVerified column from timestamp to boolean, preventing schema mismatches during v4 to v5 upgrades.

  • Migration
    • Add steps to convert emailVerified to boolean before updating the schema, with a PostgreSQL example (USING emailVerified IS NOT NULL) and a note that ORMs can map it as a boolean.

Written for commit c97edcb0a0. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5762 **State:** closed **Merged:** No --- closes #5726 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updates the NextAuth migration guide to cover converting the emailVerified column from timestamp to boolean, preventing schema mismatches during v4 to v5 upgrades. - **Migration** - Add steps to convert emailVerified to boolean before updating the schema, with a PostgreSQL example (USING emailVerified IS NOT NULL) and a note that ORMs can map it as a boolean. <sup>Written for commit c97edcb0a0ad114be47fa00d2eb91c51d0bf3959. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:28:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14455