1
0
mirror of https://github.com/hasura/graphql-engine.git synced 2024-12-20 05:51:54 +03:00
graphql-engine/server/tests-py/queries/explain/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
381 B
YAML

type: bulk
args:
- type: run_sql
args:
sql: |
CREATE TABLE "user"(
id SERIAL PRIMARY KEY,
name TEXT NOT NULL,
age INTEGER
);
- type: track_table
args:
name: user
schema: public
- type: create_select_permission
args:
table: user
role: user
permission:
columns: '*'
filter:
id: X-Hasura-User-Id