[PR #672] [MERGED] fix: mysql migrations with drizzle #29027

Closed
opened 2026-04-17 20:25:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/672
Author: @gltjk
Created: 11/27/2024
Status: Merged
Merged: 11/29/2024
Merged by: @Bekacru

Base: mainHead: patch-1


📝 Commits (4)

  • 6b9ef5a fix: mysql migrations with drizzle
  • 61f74d4 Merge branch 'better-auth:main' into patch-1
  • 3c48cde fix a missing part where text is not changed
  • 9871c7e Refine MySQL string type handling by conditionally using varchar or text

📊 Changes

1 file changed (+35 additions, -28 deletions)

View changed files

📝 packages/cli/src/generators/drizzle.ts (+35 -28)

📄 Description

fix #26 bug in drizzle migrations using similar solution to #27


🔄 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/672 **Author:** [@gltjk](https://github.com/gltjk) **Created:** 11/27/2024 **Status:** ✅ Merged **Merged:** 11/29/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (4) - [`6b9ef5a`](https://github.com/better-auth/better-auth/commit/6b9ef5ac5d46262ae55f5eb4dd6455afd5f67a0a) fix: mysql migrations with drizzle - [`61f74d4`](https://github.com/better-auth/better-auth/commit/61f74d4623d285598373219c12e9bf7894ef4c37) Merge branch 'better-auth:main' into patch-1 - [`3c48cde`](https://github.com/better-auth/better-auth/commit/3c48cdea0f81674f2eb56ab273419c234a388356) fix a missing part where `text` is not changed - [`9871c7e`](https://github.com/better-auth/better-auth/commit/9871c7eee2955dab003a683bc96f3f2b4f819076) Refine MySQL string type handling by conditionally using `varchar` or `text` ### 📊 Changes **1 file changed** (+35 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/generators/drizzle.ts` (+35 -28) </details> ### 📄 Description fix #26 bug in drizzle migrations using similar solution to #27 --- <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-04-17 20:25:48 -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#29027