mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
19 lines
391 B
YAML
19 lines
391 B
YAML
|
type: bulk
|
||
|
args:
|
||
|
#Drop relationship first
|
||
|
|
||
|
- type: run_sql
|
||
|
args:
|
||
|
sql: |
|
||
|
delete from article;
|
||
|
select setval('article_id_seq', 1, false);
|
||
|
|
||
|
delete from author;
|
||
|
select setval('author_id_seq', 1, false);
|
||
|
|
||
|
delete from person;
|
||
|
select setval('person_id_seq', 1, false);
|
||
|
|
||
|
delete from products;
|
||
|
select setval('products_product_id_seq', 1, false);
|