mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-22 06:51:32 +03:00
06f5e4fb77
https://github.com/hasura/graphql-engine-mono/pull/1715 GitOrigin-RevId: 4818292cff8c3a5b264968e7032887a1e98b6f79
17 lines
716 B
YAML
17 lines
716 B
YAML
type: run_sql
|
|
args:
|
|
sql: |
|
|
insert into editors (first_name, last_name, phone, age) values
|
|
('Michael', 'Kahn', '123231321', 86),
|
|
('Alan', 'Bell', '432434352', 40);
|
|
|
|
insert into authors (first_name, last_name, phone, age, followers, editor_id) values
|
|
('J.K', 'Rowling', '4384251032', 55, 1000000, 1),
|
|
('Paulo', 'Coelho', '3423432012', 73, 321321, 1),
|
|
('Agatha', 'Christie', '998980211', 86, 432432, 2);
|
|
|
|
insert into articles ( title, content, is_published, author_id, editor_id ) values
|
|
('Article Title 1', 'Article Content 1', true, 1, 1),
|
|
('Article Title 2', 'Article Content 2', false, 2, 1),
|
|
('Article Title 3', 'Article Content 3', true, 3, 2);
|