graphql-engine/server/tests-py/queries/graphql_validation/setup.yaml
Swann Moreau 5bc0355bdd [server] coalesce multiple run_sql calls in tests (#270)
GitOrigin-RevId: abd7303aaf8e7a8739fd10574249aec450082ef8
2021-01-06 16:07:22 +00:00

42 lines
706 B
YAML

type: bulk
args:
- type: run_sql
args:
sql: |
CREATE EXTENSION IF NOT EXISTS postgis;
create table author(
id SERIAL PRIMARY KEY,
name TEXT UNIQUE,
location GEOGRAPHY(Point)
);
create table article(
id SERIAL PRIMARY KEY,
body JSONB
);
create table misgivings(
i INTEGER,
f REAL
);
insert into misgivings values (43, 102);
- type: track_table
args:
schema: public
name: author
# Article table
- type: track_table
args:
schema: public
name: article
# Some other table
- type: track_table
args:
schema: public
name: misgivings