[PR #3940] [MERGED] Correctly call autoincrement #13345

Closed
opened 2026-04-13 08:52:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: fix/cli-drizzle-autoincrement


📝 Commits (1)

  • 3ed1ba2 Correctly call autoincrement

📊 Changes

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

View changed files

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

📄 Description

This pull request makes a minor fix to the schema generation logic for Drizzle schema in the CLI. The change corrects the syntax for the autoincrement method to use parentheses, ensuring compatibility with the expected API.


Summary by cubic

Fixed the schema generator to correctly call the autoincrement method with parentheses for Drizzle CLI, ensuring proper API usage.


🔄 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/3940 **Author:** [@ben-agnew](https://github.com/ben-agnew) **Created:** 8/11/2025 **Status:** ✅ Merged **Merged:** 8/12/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/cli-drizzle-autoincrement` --- ### 📝 Commits (1) - [`3ed1ba2`](https://github.com/better-auth/better-auth/commit/3ed1ba20e8b8b6e9de6180b7a32d7736e19c80e8) Correctly call autoincrement ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/generators/drizzle.ts` (+1 -1) </details> ### 📄 Description This pull request makes a minor fix to the schema generation logic for Drizzle schema in the CLI. The change corrects the syntax for the `autoincrement` method to use parentheses, ensuring compatibility with the expected API. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixed the schema generator to correctly call the autoincrement method with parentheses for Drizzle CLI, ensuring proper API usage. <!-- 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-04-13 08:52:43 -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#13345