graphql-engine/server/tests-py/queries/graphql_mutation/insert/nested/values_teardown.yaml
Vladimir Ciobanu d5ff1acf2d better handling for one-to-one relationships
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 1bb5bc0c4ac8109ee1d20563d23cf98e0906a483
2021-03-03 13:02:59 +00:00

15 lines
263 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_detail;
delete from author;
SELECT setval('author_id_seq', 1, FALSE);