mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
5bc0355bdd
GitOrigin-RevId: abd7303aaf8e7a8739fd10574249aec450082ef8
27 lines
470 B
YAML
27 lines
470 B
YAML
type: bulk
|
|
args:
|
|
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
-- insert data
|
|
INSERT INTO author (name)
|
|
VALUES ('Author 1'), ('Author 2')
|
|
;
|
|
INSERT INTO article (title, content, author_id)
|
|
VALUES
|
|
( 'Article 1'
|
|
, 'Content for Article 1'
|
|
, 1
|
|
),
|
|
( 'Article 2'
|
|
, 'Content for Article 2'
|
|
, 1
|
|
),
|
|
( 'Article 3'
|
|
, 'Content for Article 3'
|
|
, 2
|
|
)
|
|
;
|
|
|