From fc86622b6734edbe551fe0100961fbf9294c63da Mon Sep 17 00:00:00 2001 From: Dan Chiem Date: Sat, 16 May 2026 15:37:56 -0400 Subject: [PATCH] fix: typo in relations v2 --- 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..08f8a221 100644 --- a/src/content/docs/relations-v2.mdx +++ b/src/content/docs/relations-v2.mdx @@ -732,7 +732,7 @@ export const posts = p.pgTable('posts', { content: p.text(), authorId: p.integer('author_id'), }, (t) => [ - index('posts_author_id_idx').on(table.authorId) + index('posts_author_id_idx').on(t.authorId) ]); export const relations = defineRelations({ users, posts }, (r) => ({