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

Closed
opened 2026-03-13 12:53:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5844
Author: @Bekacru
Created: 11/8/2025
Status: Merged
Merged: 11/8/2025
Merged by: @Bekacru

Base: canaryHead: chore/remove-warn


📝 Commits (2)

  • 2801d8d chore: remove pg warning on uuid
  • 2f8d949 Update packages/better-auth/src/db/get-migration.ts

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 packages/better-auth/src/db/get-migration.ts (+3 -3)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5844 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/8/2025 **Status:** ✅ Merged **Merged:** 11/8/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `chore/remove-warn` --- ### 📝 Commits (2) - [`2801d8d`](https://github.com/better-auth/better-auth/commit/2801d8de1318a1a5fd2024b102f8af8f9d39b24e) chore: remove pg warning on uuid - [`2f8d949`](https://github.com/better-auth/better-auth/commit/2f8d949e9107c3ac695045c2d2ba0d85f00b799c) Update packages/better-auth/src/db/get-migration.ts ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/db/get-migration.ts` (+3 -3) </details> ### 📄 Description <!-- 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. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:53: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#6271