[PR #2346] [MERGED] feat(organization): support createdAt on invitations #21174

Closed
opened 2026-04-15 20:11:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2346
Author: @iRoachie
Created: 4/18/2025
Status: Merged
Merged: 10/6/2025
Merged by: @himself65

Base: canaryHead: feat/organization-invite-createdAt


📝 Commits (6)

  • 810c6fc feat(organization): support createdAt on invitations
  • 1e9b673 nit: trailing commas
  • 56936cd style: add trailing comma
  • bcf410b fix: missing schema
  • db8e31b Merge branch 'canary' into feat/organization-invite-createdAt
  • 2fe5243 test: update snapshot for workspace invitation

📊 Changes

7 files changed (+23 additions, -1 deletions)

View changed files

📝 docs/content/docs/plugins/organization.mdx (+5 -0)
📝 packages/better-auth/src/plugins/organization/adapter.ts (+1 -0)
📝 packages/better-auth/src/plugins/organization/organization.test.ts (+3 -1)
📝 packages/better-auth/src/plugins/organization/organization.ts (+6 -0)
📝 packages/better-auth/src/plugins/organization/routes/crud-invites.ts (+4 -0)
📝 packages/better-auth/src/plugins/organization/schema.ts (+3 -0)
📝 packages/cli/test/__snapshots__/schema-mysql-custom.prisma (+1 -0)

📄 Description

Adds createdAt attribute to invitation schema.


🔄 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/2346 **Author:** [@iRoachie](https://github.com/iRoachie) **Created:** 4/18/2025 **Status:** ✅ Merged **Merged:** 10/6/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `feat/organization-invite-createdAt` --- ### 📝 Commits (6) - [`810c6fc`](https://github.com/better-auth/better-auth/commit/810c6fc3c7eeee026728ec74e0222763b3602f12) feat(organization): support createdAt on invitations - [`1e9b673`](https://github.com/better-auth/better-auth/commit/1e9b67300b29009580b4240efa63b7456e726310) nit: trailing commas - [`56936cd`](https://github.com/better-auth/better-auth/commit/56936cdad6fc1041dcfa5aa11544cf7032543074) style: add trailing comma - [`bcf410b`](https://github.com/better-auth/better-auth/commit/bcf410b27c05aa4b4f809698362667dfebdb37fc) fix: missing schema - [`db8e31b`](https://github.com/better-auth/better-auth/commit/db8e31bf053ce02feca51045f3cf37afcf9efe91) Merge branch 'canary' into feat/organization-invite-createdAt - [`2fe5243`](https://github.com/better-auth/better-auth/commit/2fe52430e190a63442e61d967985f815b96204bb) test: update snapshot for workspace invitation ### 📊 Changes **7 files changed** (+23 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/organization.mdx` (+5 -0) 📝 `packages/better-auth/src/plugins/organization/adapter.ts` (+1 -0) 📝 `packages/better-auth/src/plugins/organization/organization.test.ts` (+3 -1) 📝 `packages/better-auth/src/plugins/organization/organization.ts` (+6 -0) 📝 `packages/better-auth/src/plugins/organization/routes/crud-invites.ts` (+4 -0) 📝 `packages/better-auth/src/plugins/organization/schema.ts` (+3 -0) 📝 `packages/cli/test/__snapshots__/schema-mysql-custom.prisma` (+1 -0) </details> ### 📄 Description Adds createdAt attribute to invitation schema. --- <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-15 20:11:20 -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#21174