mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
24 lines
514 B
YAML
24 lines
514 B
YAML
type: bulk
|
|
args:
|
|
|
|
- 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 resident;
|
|
SELECT setval('resident_id_seq', 1, FALSE);
|
|
|
|
delete from "user";
|
|
SELECT setval('"user_id_seq"', 1, FALSE);
|
|
|
|
delete from "account";
|
|
SELECT setval('"account_id_seq"', 1, FALSE);
|