graphql-engine/server/tests-py/queries/graphql_mutation/insert/permissions/teardown.yaml
Rakesh Emmadi 8f6b19d6f1 quote constraint name for non-admin inserts (fix #494) (#497)
### Description
What component does this PR affect? 

- [x] Server
### Related Issue
#494 

### Solution and Design
Use `quote_ident()` SQL function over `constraint_name` in insert trigger function definition.

### Type
- [x] Bug fix (non-breaking change which fixes an issue)
2018-09-20 20:54:20 +05:30

35 lines
462 B
YAML

type: bulk
args:
#Drop relationship first
- type: drop_relationship
args:
table:
name: author
schema: public
relationship: articles
- type: run_sql
args:
sql: |
drop table address
- type: run_sql
args:
sql: |
drop table resident
- type: run_sql
args:
sql: |
drop table article
- type: run_sql
args:
sql: |
drop table author
- type: run_sql
args:
sql: |
drop table "Company"