mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-24 16:03:37 +03:00
21 lines
439 B
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
|
||
|
);
|