Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
soedirgo committed Oct 19, 2024
1 parent 3956d43 commit d70abe9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/server/typegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
{
Expand Down Expand Up @@ -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"]
},
{
Expand Down Expand Up @@ -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"]
},
{
Expand Down Expand Up @@ -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"]
},
{
Expand Down Expand Up @@ -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"]
},
{
Expand Down Expand Up @@ -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"]
},
{
Expand Down

0 comments on commit d70abe9

Please sign in to comment.