graphql-engine/server/tests-py/queries/graphql_mutation/insert/nested/schema_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

40 lines
642 B
YAML

type: bulk
args:
#Drop relationship first
- type: drop_relationship
args:
relationship: articles
table:
schema: public
name: author
- type: drop_relationship
args:
relationship: detail_manual
table:
schema: public
name: author
- type: drop_relationship
args:
relationship: detail_fk
table:
schema: public
name: author
- type: run_sql
args:
sql: |
drop table author_detail cascade
cascade: true
- type: run_sql
args:
sql: |
drop table article cascade
cascade: true
- type: run_sql
args:
sql: |
drop table author
cascade: true