[PR #6793] [MERGED] chore(db): remove deprecated types #32488

Closed
opened 2026-04-17 23:17:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6793
Author: @himself65
Created: 12/16/2025
Status: Merged
Merged: 12/17/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/12/16/remove-deprecated


📝 Commits (1)

  • 499cfbc chore(db): remove deprecated types

📊 Changes

2 files changed (+3 additions, -33 deletions)

View changed files

📝 packages/cli/src/generators/prisma.ts (+2 -2)
📝 packages/core/src/db/index.ts (+1 -31)

📄 Description

Summary by cubic

Removed deprecated DB type aliases and updated the Prisma schema generator to use DBFieldType. No runtime changes; cleans up the public API.

  • Migration
    • FieldType → DBFieldType
    • FieldAttribute → DBFieldAttribute
    • FieldAttributeConfig → DBFieldAttributeConfig
    • BetterAuthDbSchema → BetterAuthDBSchema
    • AuthPluginSchema → BetterAuthPluginDBSchema

Written for commit 499cfbc16c. 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/6793 **Author:** [@himself65](https://github.com/himself65) **Created:** 12/16/2025 **Status:** ✅ Merged **Merged:** 12/17/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/12/16/remove-deprecated` --- ### 📝 Commits (1) - [`499cfbc`](https://github.com/better-auth/better-auth/commit/499cfbc16c37e4986ed29b41c52d28a9a2338816) chore(db): remove deprecated types ### 📊 Changes **2 files changed** (+3 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/generators/prisma.ts` (+2 -2) 📝 `packages/core/src/db/index.ts` (+1 -31) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Removed deprecated DB type aliases and updated the Prisma schema generator to use DBFieldType. No runtime changes; cleans up the public API. - **Migration** - FieldType → DBFieldType - FieldAttribute → DBFieldAttribute - FieldAttributeConfig → DBFieldAttributeConfig - BetterAuthDbSchema → BetterAuthDBSchema - AuthPluginSchema → BetterAuthPluginDBSchema <sup>Written for commit 499cfbc16c37e4986ed29b41c52d28a9a2338816. 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-04-17 23:17:27 -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#32488