Skip to content

Commit 3a8022e

Browse files
Merge pull request #525 from harryplusplus/patch-1
docs: Fix incorrect directory in "Connect Drizzle ORM to the Database" sections
2 parents db67bef + 569fbca commit 3a8022e

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/mdx/get-started/postgresql/ConnectNeon.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Callout from '@mdx/Callout.astro';
22
import CodeTabs from "@mdx/CodeTabs.astro";
33
import Section from "@mdx/Section.astro";
44

5-
Create a `index.ts` file in the `src/db` directory and initialize the connection:
5+
Create a `index.ts` file in the `src` directory and initialize the connection:
66

77
```typescript
88
import { drizzle } from 'drizzle-orm/neon-http';

src/mdx/get-started/postgresql/ConnectNile.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Callout from '@mdx/Callout.astro';
22
import CodeTabs from "@mdx/CodeTabs.astro";
33

4-
Create a `index.ts` file in the `src/db` directory and initialize the connection:
4+
Create a `index.ts` file in the `src` directory and initialize the connection:
55

66
<CodeTabs items={["node-postgres", "node-postgres with config", "your node-postgres driver"]}>
77
```typescript copy

src/mdx/get-started/postgresql/ConnectPgLite.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Create a `index.ts` file in the `src/db` directory and initialize the connection:
1+
Create a `index.ts` file in the `src` directory and initialize the connection:
22

33
```typescript copy
44
import { drizzle } from 'drizzle-orm/pglite';

src/mdx/get-started/postgresql/ConnectPostgreSQL.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import CodeTabs from "@mdx/CodeTabs.astro";
22

3-
Create a `index.ts` file in the `src/db` directory and initialize the connection:
3+
Create a `index.ts` file in the `src` directory and initialize the connection:
44

55
<CodeTabs items={["node-postgres", "node-postgres with config", "your node-postgres driver"]}>
66
```typescript copy

src/mdx/get-started/postgresql/ConnectSupabase.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Callout from '@mdx/Callout.astro';
22

3-
Create a `index.ts` file in the `src/db` directory and initialize the connection:
3+
Create a `index.ts` file in the `src` directory and initialize the connection:
44

55
```typescript copy filename="index.ts"
66
import { drizzle } from 'drizzle-orm'

src/mdx/get-started/postgresql/ConnectVercel.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Create a `index.ts` file in the `src/db` directory and initialize the connection:
1+
Create a `index.ts` file in the `src` directory and initialize the connection:
22

33
```typescript copy
44
import { drizzle } from 'drizzle-orm/vercel-postgres';

src/mdx/get-started/postgresql/ConnectXata.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Create a `index.ts` file in the `src/db` directory and initialize the connection:
1+
Create a `index.ts` file in the `src` directory and initialize the connection:
22

33
```typescript copy"
44
import { drizzle } from 'drizzle-orm/xata-http';

0 commit comments

Comments
 (0)