graphql-engine/server/tests-py/queries/remote_schemas/tbls_setup.yaml
Karthikeyan Chinnakonda 2325755954 server: streaming subscriptions schema generation and tests (incremental PR - 3)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4259
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 4d1b4ec3c01f3a839f4392d3b77950fc3ab30236
2022-04-22 19:54:11 +00:00

34 lines
568 B
YAML

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