mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-22 15:01:39 +03:00
e1918adb52
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3373 GitOrigin-RevId: bf08cc9008a4b0b3ece4952528c15c45e57fc74c
33 lines
576 B
YAML
33 lines
576 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;
|
|
drop table article cascade;
|
|
drop table author;
|
|
drop function create_author();
|
|
cascade: true
|