mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-27 01:15:51 +03:00
91376316f2
This is breaking change where bigint and bigserial Postgres types will be encoded as GraphQL String types, as opposed to Int as present in earlier releases. Input types were already encoded as String. This is achieved by selecting `bigint` and `bigserial` columns as `text`s in the SQL query: `select "big_id"::text ..` instead of `select "big_id" .. `. Reason for that change is outlined in #633 where JavaScript cannot decode 64 bit Integers.
23 lines
337 B
YAML
23 lines
337 B
YAML
type: bulk
|
|
args:
|
|
#Drop relationship first
|
|
- type: drop_relationship
|
|
args:
|
|
relationship: articles
|
|
table:
|
|
schema: public
|
|
name: author
|
|
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
drop table article
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
drop table author
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
drop table "user"
|