Skip to content

Commit 9fff264

Browse files
committed
atlas
1 parent 9ed9470 commit 9fff264

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/content/docs/migrations.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -355,12 +355,12 @@ CREATE TABLE "users" (
355355
<Tag style="font-size: 12px">**Option 6**</Tag>
356356
> I want to have database schema in my TypeScript codebase,
357357
> I want Drizzle to output the SQL representation of my Drizzle schema to the console,
358-
> and I will apply them to my database via Atlas
358+
> and I will apply them to my database via [Atlas](https://atlasgo.io/guides/orms/drizzle)
359359
360360
<Callout collapsed="Expand details">
361361
That's a **codebase first** approach. You have your TypeScript Drizzle schema as a source of truth and
362362
Drizzle let's you export SQL statements based on your schema changes with [`drizzle-kit export`](/docs/drizzle-kit-generate) and then
363-
you can apply them to the database via external migration tools.
363+
you can apply them to the database via [Atlas](https://atlasgo.io/guides/orms/drizzle) or other external SQL migration tools.
364364
365365
<Section>
366366
```typescript filename="src/schema.ts"
@@ -379,11 +379,8 @@ export const users = p.pgTable("users", {
379379
380380
1. read your drizzle schema
381381
2. generated SQL representation of your schema
382-
4. outputs to console
382+
3. outputs to console
383383
384-
385-
386-
387384
388385
v
389386
```

0 commit comments

Comments
 (0)