Skip to content

Commit 67a7085

Browse files
fix: Fix pg line doc
1 parent 83f33c8 commit 67a7085

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/docs/column-types/pg.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ Type `line` has 2 modes for mappings from the database: `tuple` and `abc`.
690690
```typescript
691691
const items = pgTable('items', {
692692
line: line(),
693-
lineObj: point({ mode: 'abc' }),
693+
lineObj: line({ mode: 'abc' }),
694694
});
695695
```
696696

src/content/docs/latest-releases/drizzle-orm-v0310.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Type `line` has 2 modes for mappings from the database: `tuple` and `abc`.
171171
```ts
172172
const items = pgTable('items', {
173173
line: line('line'),
174-
lineObj: point('line_abc', { mode: 'abc' }),
174+
lineObj: line('line_abc', { mode: 'abc' }),
175175
});
176176
```
177177

0 commit comments

Comments
 (0)