graphql-engine/server/tests-py/queries/graphql_mutation/insert/views/teardown.yaml

39 lines
558 B
YAML

type: bulk
args:
#Drop relationships
- type: drop_relationship
args:
relationship: author_simple
table:
schema: public
name: article
- type: drop_relationship
args:
relationship: author_complex
table:
schema: public
name: article
#Drop views
- type: run_sql
args:
sql: |
drop view author_simple
- type: run_sql
args:
sql: |
drop view author_complex
#Drop tables
- type: run_sql
args:
sql: |
drop table article
- type: run_sql
args:
sql: |
drop table author