mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 13:31:43 +03:00
19 lines
379 B
YAML
19 lines
379 B
YAML
|
type: bulk
|
||
|
args:
|
||
|
#Drop relationship first
|
||
|
|
||
|
- type: run_sql
|
||
|
args:
|
||
|
sql: |
|
||
|
DELETE from person;
|
||
|
SELECT setval('person_id_seq', 1, FALSE);
|
||
|
|
||
|
DELETE from orders;
|
||
|
SELECT setval('orders_id_seq', 1, FALSE);
|
||
|
|
||
|
DELETE from article;
|
||
|
SELECT setval('article_id_seq', 1, FALSE);
|
||
|
|
||
|
DELETE from author;
|
||
|
SELECT setval('author_id_seq', 1, FALSE);
|