graphql-engine/server/tests-py/queries/remote_schemas/tbls_setup.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
568 B
YAML
Raw Normal View History

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