[PR #3801] [MERGED] fix: add missing team reference in teamMember schema #5015

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3801
Author: @Kinfe123
Created: 8/5/2025
Status: Merged
Merged: 8/6/2025
Merged by: @Bekacru

Base: mainHead: fix/team-id-reference-schema


📝 Commits (1)

  • c4725aa fix: add missing team reference in teamMember schema

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/organization/organization.ts (+4 -0)

📄 Description

closes #3800

Summary by cubic

Added a missing reference to the team model in the teamMember schema to ensure teamId is correctly linked.


🔄 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/3801 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 8/5/2025 **Status:** ✅ Merged **Merged:** 8/6/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/team-id-reference-schema` --- ### 📝 Commits (1) - [`c4725aa`](https://github.com/better-auth/better-auth/commit/c4725aa2eaa59efca1c34f229b18e78c344e94c4) fix: add missing team reference in teamMember schema ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/organization/organization.ts` (+4 -0) </details> ### 📄 Description closes #3800 <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added a missing reference to the team model in the teamMember schema to ensure teamId is correctly linked. <!-- 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:07:45 -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#5015