diff --git a/website/content/docs/plugins/drizzle.mdx b/website/content/docs/plugins/drizzle.mdx index 5e65f7e0a..3c97125d2 100644 --- a/website/content/docs/plugins/drizzle.mdx +++ b/website/content/docs/plugins/drizzle.mdx @@ -43,6 +43,7 @@ const builder = new SchemaBuilder({ plugins: [DrizzlePlugin], drizzle: { client: db, + schema }, }); ``` @@ -57,7 +58,7 @@ import * as schema from './schema'; import { drizzle } from 'drizzle-orm/...'; import SchemaBuilder from '@pothos/core'; import DrizzlePlugin from '@pothos/plugin-drizzle'; -import RelayPlugin from '@pothos/plugin-scope-auth'; +import RelayPlugin from '@pothos/plugin-relay'; import WithInputPlugin from '@pothos/plugin-with-input'; const db = drizzle(client, { schema });