diff --git a/deployment/hasura/metadata/databases/AerieMerlin/tables/public_plan.yaml b/deployment/hasura/metadata/databases/AerieMerlin/tables/public_plan.yaml index 4c014fc640..3cb415ff5a 100644 --- a/deployment/hasura/metadata/databases/AerieMerlin/tables/public_plan.yaml +++ b/deployment/hasura/metadata/databases/AerieMerlin/tables/public_plan.yaml @@ -67,10 +67,10 @@ array_relationships: name: plan schema: public remote_relationships: -- name: scheduling_specifications +- name: scheduling_specification definition: to_source: - relationship_type: array + relationship_type: object source: AerieScheduler table: schema: public diff --git a/e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/utils/GQL.java b/e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/utils/GQL.java index 401a6ef8af..68554dedff 100644 --- a/e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/utils/GQL.java +++ b/e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/utils/GQL.java @@ -315,7 +315,7 @@ query GetPlan($id: Int!) { } name revision - scheduling_specifications { + scheduling_specification { id } simulations {