Skip to content

Commit

Permalink
docs: fix drizzle links in folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
c4ebt committed Dec 3, 2024
1 parent d22a0bf commit b984c81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions www/src/pages/en/folder-structure-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ The `db` folder contains the Drizzle client and schema. Note that drizzle also r

#### `src/server/db/index.ts`

The `index.ts` file is used to instantiate the Drizzle client at global scope. See [Drizzle usage](usage/drizzle#drizzle-client) and [best practices for using Drizzle with Next.js](https://www.prisma.io/docs/guides/database/troubleshooting-orm/help-articles/nextjs-prisma-client-dev-practices) for more information.
The `index.ts` file is used to instantiate the Drizzle client at global scope. See [Drizzle usage](usage/drizzle#drizzle-client) for more information.

</div>
<div data-components="drizzle">

#### `src/server/db/schema.ts`

The `schema.ts` file is used to define the database schema. See [Drizzle usage](usage/drizzle#drizzle-client) and [best practices for using Drizzle with Next.js](https://www.prisma.io/docs/guides/database/troubleshooting-orm/help-articles/nextjs-prisma-client-dev-practices) for more information.
The `schema.ts` file is used to define the database schema. See [Drizzle usage](usage/drizzle#drizzle-client) and [Drizzle schema docs](https://orm.drizzle.team/docs/sql-schema-declaration) for more information.

</div>
<div data-components="trpc">
Expand Down
4 changes: 2 additions & 2 deletions www/src/pages/en/folder-structure-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ The `db` folder contains the Drizzle client and schema. Note that drizzle also r

#### `src/server/db/index.ts`

The `index.ts` file is used to instantiate the Drizzle client at global scope. See [Drizzle usage](usage/drizzle#drizzle-client) and [best practices for using Drizzle with Next.js](https://www.prisma.io/docs/guides/database/troubleshooting-orm/help-articles/nextjs-prisma-client-dev-practices) for more information.
The `index.ts` file is used to instantiate the Drizzle client at global scope. See [Drizzle usage](usage/drizzle#drizzle-client) for more information.

</div>
<div data-components="drizzle">

#### `src/server/db/schema.ts`

The `schema.ts` file is used to define the database schema. See [Drizzle usage](usage/drizzle#drizzle-client) and [best practices for using Drizzle with Next.js](https://www.prisma.io/docs/guides/database/troubleshooting-orm/help-articles/nextjs-prisma-client-dev-practices) for more information.
The `schema.ts` file is used to define the database schema. See [Drizzle usage](usage/drizzle#drizzle-client) and [Drizzle schema docs](https://orm.drizzle.team/docs/sql-schema-declaration) for more information.

</div>
<div data-components="trpc">
Expand Down

0 comments on commit b984c81

Please sign in to comment.