[PR #3741] [MERGED] docs: Remove nonexistent invitation.createdAt field, add missing invitation.teamId field #4983

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

📋 Pull Request Information

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

Base: mainHead: docs/invitation-schema


📝 Commits (2)

  • dc1fdc0 docs: remove invitation.createdAt, add invitation.teamId
  • ed38b37 docs: add team id optionally

📊 Changes

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

View changed files

📝 docs/content/docs/plugins/organization.mdx (+11 -3)

📄 Description

The current docs list a createdAt field for the invitation table that doesn’t exist and are missing the optional teamId field that does exist on the invitation schema


Summary by cubic

Updated the invitation table docs to remove the non-existent createdAt field and add the missing optional teamId field.


🔄 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/3741 **Author:** [@acusti](https://github.com/acusti) **Created:** 8/1/2025 **Status:** ✅ Merged **Merged:** 8/1/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `docs/invitation-schema` --- ### 📝 Commits (2) - [`dc1fdc0`](https://github.com/better-auth/better-auth/commit/dc1fdc08518798d2474d97d488f6d541a534564a) docs: remove invitation.createdAt, add invitation.teamId - [`ed38b37`](https://github.com/better-auth/better-auth/commit/ed38b3722c01dc88e728dea2524fa29f61d7ea87) docs: add team id optionally ### 📊 Changes **1 file changed** (+11 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/organization.mdx` (+11 -3) </details> ### 📄 Description The current docs list a `createdAt` field for the `invitation` table that doesn’t exist and are missing the optional `teamId` field that does exist on the [invitation schema](https://github.com/better-auth/better-auth/blob/main/packages/better-auth/src/plugins/organization/schema.ts#L32-L41) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated the invitation table docs to remove the non-existent createdAt field and add the missing optional teamId field. <!-- 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:06:17 -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#4983