graphql-engine/server/tests-py/queries/graphql_mutation/delete/constraints/teardown_mssql.yaml
Gil Mizrahi 0e65932355 server/mssql support delete mutations (close hasura/graphql-engine#7626)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2691
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 8b66cc30e8e036ee56a5267c1d2f308155951ae9
2021-11-19 17:06:01 +00:00

25 lines
366 B
YAML

type: bulk
args:
# Drop relationship first
- type: mssql_drop_relationship
args:
source: mssql
relationship: articles
table:
name: author
- type: mssql_untrack_table
args:
source: mssql
table:
name: article
cascade: true
- type: mssql_untrack_table
args:
source: mssql
table:
name: author
cascade: true