2019-04-08 10:22:38 +03:00
|
|
|
type: bulk
|
|
|
|
args:
|
|
|
|
|
|
|
|
- type: run_sql
|
|
|
|
args:
|
|
|
|
sql: |
|
|
|
|
delete from address;
|
|
|
|
SELECT setval('address_id_seq', 1, FALSE);
|
|
|
|
|
|
|
|
delete from resident;
|
|
|
|
SELECT setval('resident_id_seq', 1, FALSE);
|
|
|
|
|
|
|
|
delete from article;
|
|
|
|
SELECT setval('article_id_seq', 1, FALSE);
|
|
|
|
|
|
|
|
delete from blog;
|
|
|
|
SELECT setval('blog_id_seq', 1, FALSE);
|
|
|
|
|
|
|
|
delete from author;
|
|
|
|
SELECT setval('author_id_seq', 1, FALSE);
|
|
|
|
|
|
|
|
delete from "Company";
|
|
|
|
SELECT setval('"Company_id_seq"', 1, FALSE);
|
2019-09-05 10:34:53 +03:00
|
|
|
|
|
|
|
delete from "user";
|
|
|
|
SELECT setval('"user_id_seq"', 1, FALSE);
|
2021-04-19 15:16:10 +03:00
|
|
|
|
|
|
|
delete from order_cart;
|
|
|
|
|
|
|
|
delete from items;
|
|
|
|
SELECT setval('items_id_seq', 1, FALSE);
|