graphql-engine/server/tests-py/queries/heterogeneous/schema_setup.yaml

29 lines
588 B
YAML
Raw Normal View History

type: bulk
args:
- type: run_sql
args:
sql: |
CREATE TABLE hello (
id SERIAL PRIMARY KEY,
name TEXT
);
- type: track_table
args:
schema: public
name: hello
- type: add_remote_schema
args:
name: simple1-graphql
comment: testing
definition:
url: "{{REMOTE_SCHEMAS_WEBHOOK_DOMAIN}}/user-graphql"
forward_client_headers: false
- type: add_remote_schema
args:
name: simple2-graphql
comment: testing
definition:
url: "{{REMOTE_SCHEMAS_WEBHOOK_DOMAIN}}/union-graphql"
forward_client_headers: false