Skip to content

Commit 9ccb43c

Browse files
committed
docs: document prefix attribute in drizzle.config migrations section
Added missing 'prefix' attribute documentation to the migrations section. The prefix attribute accepts: index, timestamp, supabase, unix, or none. Updated type definition, default value, code example, and added a description of each prefix value.
1 parent 5be9353 commit 9ccb43c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/docs/drizzle-config-file.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ successfully applied migrations in your database in log table named `__drizzle_m
374374

375375
| | |
376376
| :------------ | :----------------- |
377-
| type | `{ table: string, schema: string }` |
378-
| default | `{ table: "__drizzle_migrations", schema: "drizzle" }` |
377+
| type | `{ table: string, schema: string, prefix: "index" \| "timestamp" \| "supabase" \| "unix" \| "none" }` |
378+
| default | `{ table: "__drizzle_migrations", schema: "drizzle", prefix: "index" }` |
379379
| commands | `migrate` |
380380

381381
<rem025/>

0 commit comments

Comments
 (0)