From ac5e7d24cdea74309d8570e80e5dafb49dcbb9cc Mon Sep 17 00:00:00 2001 From: ARUN KUMAR Date: Wed, 11 Feb 2026 14:41:23 +1100 Subject: [PATCH] fix: typo in warning about relations rules --- src/content/docs/relations-v2.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/relations-v2.mdx b/src/content/docs/relations-v2.mdx index 7d3784dc..7b04a604 100644 --- a/src/content/docs/relations-v2.mdx +++ b/src/content/docs/relations-v2.mdx @@ -508,7 +508,7 @@ const db = drizzle(process.env.DB_URL, { relations: { ...relations, ...part } }) There are a few rules you would need to follow to make sure it `defineRelationsParts` works as expected -**Rule 1**: If you specify reltions with parts, when passing it to drizzle db function you would need to specify it in the right order(main relations goes first) +**Rule 1**: If you specify relations with parts, when passing it to drizzle db function you would need to specify it in the right order(main relations goes first) ```ts // ✅ const db = drizzle(process.env.DB_URL, { relations: { ...relations, ...part } })