You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated MySQL auth schema uses TIMESTAMP(3), so a 1960 birthday fails signup #967
On MySQL, the auth schema from void db generate stores Better Auth's dates as TIMESTAMP(3), while the tables vite dev creates use DATETIME(3).
TIMESTAMP can't hold dates before 1970, so once the generated migration is applied, signing up with a 1960 birthday returns 422 FAILED_TO_CREATE_USER.
The same signup returns 200 on tables that vite dev created.
To reproduce in Void 1.12.2 with DATABASE_URL pointing at MariaDB, set database: { dialect: 'mysql' } and auth: { providers: ['email'] } in void.config.ts, and add this auth.ts:
Activity
fix(auth): generate MySQL dates as datetime (voidzero-dev#968)