From d70abe938c1266fe0a3ed540c09bc52450e48c51 Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Sat, 19 Oct 2024 16:29:42 +0800 Subject: [PATCH] chore: update snapshots --- test/server/typegen.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/server/typegen.ts b/test/server/typegen.ts index c60136d1..63569fb8 100644 --- a/test/server/typegen.ts +++ b/test/server/typegen.ts @@ -257,13 +257,13 @@ test('typegen: typescript', async () => { { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] - referencedRelation: "users" + referencedRelation: "a_view" referencedColumns: ["id"] }, { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] - referencedRelation: "a_view" + referencedRelation: "users" referencedColumns: ["id"] }, { @@ -294,13 +294,13 @@ test('typegen: typescript', async () => { { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] - referencedRelation: "users" + referencedRelation: "a_view" referencedColumns: ["id"] }, { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] - referencedRelation: "a_view" + referencedRelation: "users" referencedColumns: ["id"] }, { @@ -796,14 +796,14 @@ test('typegen w/ one-to-one relationships', async () => { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] isOneToOne: false - referencedRelation: "users" + referencedRelation: "a_view" referencedColumns: ["id"] }, { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] isOneToOne: false - referencedRelation: "a_view" + referencedRelation: "users" referencedColumns: ["id"] }, { @@ -836,14 +836,14 @@ test('typegen w/ one-to-one relationships', async () => { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] isOneToOne: false - referencedRelation: "users" + referencedRelation: "a_view" referencedColumns: ["id"] }, { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] isOneToOne: false - referencedRelation: "a_view" + referencedRelation: "users" referencedColumns: ["id"] }, { @@ -1340,14 +1340,14 @@ test('typegen: typescript w/ one-to-one relationships', async () => { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] isOneToOne: false - referencedRelation: "users" + referencedRelation: "a_view" referencedColumns: ["id"] }, { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] isOneToOne: false - referencedRelation: "a_view" + referencedRelation: "users" referencedColumns: ["id"] }, { @@ -1380,14 +1380,14 @@ test('typegen: typescript w/ one-to-one relationships', async () => { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] isOneToOne: false - referencedRelation: "users" + referencedRelation: "a_view" referencedColumns: ["id"] }, { foreignKeyName: "todos_user-id_fkey" columns: ["user-id"] isOneToOne: false - referencedRelation: "a_view" + referencedRelation: "users" referencedColumns: ["id"] }, {