[GH-ISSUE #9148] [Docs] Add subsection for advanced.database keys #19919

Open
opened 2026-04-15 19:17:17 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @peyremorgan on GitHub (Apr 13, 2026).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/9148

Originally assigned to: @ping-maxwell on GitHub.

The options reference simply describe the advanced.database options as "Database configuration options". I think a subsection like for the backgroundTasks could be useful.

What do you think?

Originally created by @peyremorgan on GitHub (Apr 13, 2026). Original GitHub issue: https://github.com/better-auth/better-auth/issues/9148 Originally assigned to: @ping-maxwell on GitHub. The [options reference](https://better-auth.com/docs/reference/options#advanced) simply describe the `advanced.database` options as "Database configuration options". I think a subsection like for the [backgroundTasks](https://better-auth.com/docs/reference/options#backgroundtasks) could be useful. What do you think?
GiteaMirror added the awaiting external contributordocs labels 2026-04-15 19:17:17 -05:00
Author
Owner

@peyremorgan commented on GitHub (Apr 13, 2026):

Ok, I just found out that there's already a great explanation of the ID generation options in concepts/database. Maybe the config reference should just link to that?

<!-- gh-comment-id:4236634285 --> @peyremorgan commented on GitHub (Apr 13, 2026): Ok, I just found out that there's already a great explanation of the ID generation options in [concepts/database](https://github.com/better-auth/better-auth/blob/6c946a3e0cd9fce519f27784766222bb58b325e8/docs/content/docs/concepts/database.mdx#id-generation). Maybe the config reference should just link to that?
Author
Owner

@ping-maxwell commented on GitHub (Apr 14, 2026):

makes sense

<!-- gh-comment-id:4242128695 --> @ping-maxwell commented on GitHub (Apr 14, 2026): makes sense
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#19919