1
0
mirror of https://github.com/hasura/graphql-engine.git synced 2024-12-19 21:41:44 +03:00
graphql-engine/server/tests-py/queries/explain/schema_setup_bigquery.yaml

21 lines
439 B
YAML

type: bulk
args:
- type: bigquery_run_sql
args:
source: bigquery
sql: |
CREATE TABLE `hasura.author` (
`id` INT64,
`name` STRING,
`created_at` TIMESTAMP
);
CREATE TABLE `hasura.article` (
`id` INT64,
`title` STRING,
`content` STRING,
`author_id` INT64,
`is_published` BOOL,
`published_on` DATETIME,
`created_at` TIMESTAMP
);