[PR #5844] chore: shouldn't show cli warning on uuid type for strings #14518

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

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

State: closed
Merged: Yes


Summary by cubic

Recognize UUID columns as strings in migration type mapping to prevent Postgres warnings and keep behavior consistent across adapters.

  • Bug Fixes
    • Add "uuid" to Postgres and MySQL string lists, and "uniqueidentifier" to MSSQL, in get-migration.ts to stop migration warnings and normalize types.

Written for commit 2f8d949e91. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5844 **State:** closed **Merged:** Yes --- <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Recognize UUID columns as strings in migration type mapping to prevent Postgres warnings and keep behavior consistent across adapters. - **Bug Fixes** - Add "uuid" to Postgres and MySQL string lists, and "uniqueidentifier" to MSSQL, in get-migration.ts to stop migration warnings and normalize types. <sup>Written for commit 2f8d949e9107c3ac695045c2d2ba0d85f00b799c. 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:31:01 -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#14518