Skip to content

Commit 3a2c2e1

Browse files
authored
Merge pull request #1344 from olup/fix-doc
fix: small updates on drizzle plugin documentation
2 parents 20f9ae0 + e6b671f commit 3a2c2e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/content/docs/plugins/drizzle.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const builder = new SchemaBuilder<PothosTypes>({
4343
plugins: [DrizzlePlugin],
4444
drizzle: {
4545
client: db,
46+
schema
4647
},
4748
});
4849
```
@@ -57,7 +58,7 @@ import * as schema from './schema';
5758
import { drizzle } from 'drizzle-orm/...';
5859
import SchemaBuilder from '@pothos/core';
5960
import DrizzlePlugin from '@pothos/plugin-drizzle';
60-
import RelayPlugin from '@pothos/plugin-scope-auth';
61+
import RelayPlugin from '@pothos/plugin-relay';
6162
import WithInputPlugin from '@pothos/plugin-with-input';
6263

6364
const db = drizzle(client, { schema });

0 commit comments

Comments
 (0)