graphql-engine/server/tests-py/queries/graphql_introspection/disable_introspection/schema_setup.yaml
Karthikeyan Chinnakonda 4702ba514a pro server: disable GraphQL schema introspection for specified roles
GitOrigin-RevId: 36ceb1852bc7779092cfb59c92035dd9635b2e3f
2021-05-05 12:26:23 +00:00

10 lines
182 B
YAML

type: run_sql
args:
sql: |
CREATE TABLE authors (
id SERIAL PRIMARY KEY,
name text
);
INSERT INTO AUTHORS (name) VALUES ('J.K.Rowling'), ('Paulo Coelho');