Skip to content

fix(nuxthub): use generated schema for drizzle adapter#153

Closed
onmax wants to merge 2 commits intomainfrom
fix/nuxthub-provider-schema-149
Closed

fix(nuxthub): use generated schema for drizzle adapter#153
onmax wants to merge 2 commits intomainfrom
fix/nuxthub-provider-schema-149

Conversation

@onmax
Copy link
Collaborator

@onmax onmax commented Feb 15, 2026

Fixes #149

NuxtHub provider now uses the module-generated Better Auth schema (./schema.<dialect>.mjs) when wiring drizzleAdapter(), while keeping db from @nuxthub/db.

Tests:

  • pnpm vitest run test/nuxthub-provider-template.test.ts

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 15, 2026

Open in StackBlitz

npm i https://pkg.pr.new/nuxt-modules/better-auth/@onmax/nuxt-better-auth@153

commit: 944416c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nuxtHub provider: drizzle adapter uses wrong schema (verification missing)

1 participant