[PR #4026] [CLOSED] Added updatedAt field to organization and member schema/table #5142

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4026
Author: @anmol-fzr
Created: 8/15/2025
Status: Closed

Base: canaryHead: fix/mongodb-updatedAt


📝 Commits (2)

  • dbaae0a docs: hero section alignment with feature section on big screens (#4018)
  • 6de8e7d Add: updatedAt field to member and organization

📊 Changes

5 files changed (+14 additions, -8 deletions)

View changed files

📝 docs/components/features.tsx (+3 -3)
📝 docs/components/landing/hero.tsx (+5 -5)
📝 packages/better-auth/src/plugins/organization/adapter.ts (+2 -0)
📝 packages/better-auth/src/plugins/organization/routes/crud-members.ts (+1 -0)
📝 packages/better-auth/src/plugins/organization/routes/crud-org.ts (+3 -0)

📄 Description

Fixing: https://github.com/better-auth/better-auth/issues/3986

By adding updatedAt field to organization and member schema/table


Summary by cubic

Added an updatedAt field to organization and member tables to track when records are changed.

  • Refactors
  • Set updatedAt on create and update actions for organizations and members.

🔄 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/4026 **Author:** [@anmol-fzr](https://github.com/anmol-fzr) **Created:** 8/15/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `fix/mongodb-updatedAt` --- ### 📝 Commits (2) - [`dbaae0a`](https://github.com/better-auth/better-auth/commit/dbaae0ab2bc39de87dd4719e37f48e4b94ea2262) docs: hero section alignment with feature section on big screens (#4018) - [`6de8e7d`](https://github.com/better-auth/better-auth/commit/6de8e7d84fd7f54642e0df2ab9bee7662500b7a0) Add: updatedAt field to member and organization ### 📊 Changes **5 files changed** (+14 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/features.tsx` (+3 -3) 📝 `docs/components/landing/hero.tsx` (+5 -5) 📝 `packages/better-auth/src/plugins/organization/adapter.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/organization/routes/crud-members.ts` (+1 -0) 📝 `packages/better-auth/src/plugins/organization/routes/crud-org.ts` (+3 -0) </details> ### 📄 Description Fixing: https://github.com/better-auth/better-auth/issues/3986 By adding updatedAt field to organization and member schema/table <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added an updatedAt field to organization and member tables to track when records are changed. - **Refactors** - Set updatedAt on create and update actions for organizations and members. <!-- 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:12:01 -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#5142