From 79f62be1699a68b952747976aa2c915bbeed1583 Mon Sep 17 00:00:00 2001 From: Guilherme Souza Date: Wed, 12 Jun 2024 16:41:11 -0300 Subject: [PATCH] update test snapshots --- test/lib/tables.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/lib/tables.ts b/test/lib/tables.ts index 6b588d24..c4c934e7 100644 --- a/test/lib/tables.ts +++ b/test/lib/tables.ts @@ -114,19 +114,19 @@ test('list', async () => { ], "relationships": [ { - "constraint_name": "user_details_user_id_fkey", - "source_column_name": "user_id", + "constraint_name": "todos_user-id_fkey", + "source_column_name": "user-id", "source_schema": "public", - "source_table_name": "user_details", + "source_table_name": "todos", "target_column_name": "id", "target_table_name": "users", "target_table_schema": "public", }, { - "constraint_name": "todos_user-id_fkey", - "source_column_name": "user-id", + "constraint_name": "user_details_user_id_fkey", + "source_column_name": "user_id", "source_schema": "public", - "source_table_name": "todos", + "source_table_name": "user_details", "target_column_name": "id", "target_table_name": "users", "target_table_schema": "public", @@ -178,19 +178,19 @@ test('list without columns', async () => { ], "relationships": [ { - "constraint_name": "user_details_user_id_fkey", - "source_column_name": "user_id", + "constraint_name": "todos_user-id_fkey", + "source_column_name": "user-id", "source_schema": "public", - "source_table_name": "user_details", + "source_table_name": "todos", "target_column_name": "id", "target_table_name": "users", "target_table_schema": "public", }, { - "constraint_name": "todos_user-id_fkey", - "source_column_name": "user-id", + "constraint_name": "user_details_user_id_fkey", + "source_column_name": "user_id", "source_schema": "public", - "source_table_name": "todos", + "source_table_name": "user_details", "target_column_name": "id", "target_table_name": "users", "target_table_schema": "public",