1
0
mirror of https://github.com/hasura/graphql-engine.git synced 2024-12-25 16:36:31 +03:00
graphql-engine/server/tests-py/queries/remote_schemas/tbls_setup.yaml
Swann Moreau 5bc0355bdd [server] coalesce multiple run_sql calls in tests ()
GitOrigin-RevId: abd7303aaf8e7a8739fd10574249aec450082ef8
2021-01-06 16:07:22 +00:00

25 lines
415 B
YAML

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