Skip to content

Commit

Permalink
Fixes ci issues
Browse files Browse the repository at this point in the history
Runs rollback on domain-test
  • Loading branch information
andrew-w-ross committed Aug 2, 2023
1 parent 1810b78 commit 3f534bb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
14 changes: 7 additions & 7 deletions sql/load_sql_context.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ select
),
'base_type_map', coalesce(
(
select
select
jsonb_object_agg(
current_oid,
current_oid,
base_oid
)
from (
select current_oid::int, min(base_oid::int) as base_oid
from
select current_oid::int, min(base_oid::int) as base_oid
from
type_hierarchy
where
where
current_oid <> base_oid
group by current_oid
) as gt
) as gt
),
jsonb_build_object()
),
Expand Down Expand Up @@ -126,7 +126,7 @@ select
on pt.typrelid = tabs.oid
),
jsonb_build_object()
),
),
'composites', coalesce(
(
select
Expand Down
7 changes: 3 additions & 4 deletions test/expected/domain_field_types.out
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ begin;
}
(1 row)


select jsonb_pretty(
graphql.resolve($$
{
Expand Down Expand Up @@ -251,7 +250,7 @@ begin;
edges {
node {
id
fieldInt
fieldInt
}
}
}
Expand Down Expand Up @@ -357,7 +356,7 @@ begin;
}
}
}
}
}
$$)
);
jsonb_pretty
Expand Down Expand Up @@ -545,4 +544,4 @@ begin;
rollback to savepoint a;
-- TODO: Check that update mutation resolves the base types
-- TODO: Check that delete mutation resolves the base types
end;
rollback;
8 changes: 4 additions & 4 deletions test/sql/domain_field_types.sql
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ begin;
$$)
);


select jsonb_pretty(
graphql.resolve($$
{
Expand Down Expand Up @@ -92,7 +92,7 @@ begin;
edges {
node {
id
fieldInt
fieldInt
}
}
}
Expand Down Expand Up @@ -147,7 +147,7 @@ begin;
}
}
}
}
}
$$)
);

Expand Down Expand Up @@ -195,4 +195,4 @@ begin;
-- TODO: Check that update mutation resolves the base types
-- TODO: Check that delete mutation resolves the base types

end;
rollback;

0 comments on commit 3f534bb

Please sign in to comment.