graphql-engine/server/tests-py/queries/explain/setup.yaml

24 lines
380 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