mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-23 23:43:44 +03:00
a0176c215f
Let's put it in one place. This is a precursor to moving database provisioning into the Python integration tests. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5453 GitOrigin-RevId: 5920b0b1177d94496485fcb4e178b946534ee4eb
41 lines
660 B
YAML
41 lines
660 B
YAML
type: bulk
|
|
args:
|
|
|
|
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
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
|