DB schema mismatch: email_verified is timestamp instead of boolean #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
E2E testing revealed that user sign-up is completely broken due to a database schema mismatch.
Root Cause
The
users.email_verifiedcolumn is defined astimestamp with time zonebut Better Auth sends a boolean (false) for this field.Impact
Evidence
DB schema:
Better Auth sends:
Fix
Migration to alter the column:
Severity: Critical - blocks all authenticated functionality.