From 9ccb43c508d419d2b32d7fa32e1ccc99b967c2cb Mon Sep 17 00:00:00 2001 From: Alex Bellosta Date: Thu, 14 May 2026 20:24:44 +0200 Subject: [PATCH] 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. --- src/content/docs/drizzle-config-file.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/drizzle-config-file.mdx b/src/content/docs/drizzle-config-file.mdx index 579a2459..67e86496 100644 --- a/src/content/docs/drizzle-config-file.mdx +++ b/src/content/docs/drizzle-config-file.mdx @@ -374,8 +374,8 @@ successfully applied migrations in your database in log table named `__drizzle_m | | | | :------------ | :----------------- | -| type | `{ table: string, schema: string }` | -| default | `{ table: "__drizzle_migrations", schema: "drizzle" }` | +| type | `{ table: string, schema: string, prefix: "index" \| "timestamp" \| "supabase" \| "unix" \| "none" }` | +| default | `{ table: "__drizzle_migrations", schema: "drizzle", prefix: "index" }` | | commands | `migrate` |