graphql-engine/server/tests-py/queries/v1/run_sql/setup.yaml

24 lines
355 B
YAML
Raw Normal View History

type: bulk
args:
#Author table
- type: run_sql
args:
sql: |
create table author(
id serial primary key,
name text unique
);
- type: track_table
args:
schema: public
name: author
#Insert Author table data
- type: insert
args:
table: author
objects:
- name: Author 1
- name: Author 2