mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
40 lines
802 B
JSON
40 lines
802 B
JSON
{
|
|
"description": "changeset qerr test",
|
|
"depends": [
|
|
"permission.json"
|
|
],
|
|
"items": [
|
|
{
|
|
"name": "add column 1",
|
|
"url": "/api/1/query",
|
|
"user_id": "1",
|
|
"role": "admin",
|
|
"status_code": 400,
|
|
"method": "POST",
|
|
"request": {
|
|
"kind": "add_column",
|
|
"body": {
|
|
"__type": "add_column",
|
|
"table": "author",
|
|
"column": "age"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "add column 2 (check for lockup)",
|
|
"url": "/api/1/query",
|
|
"user_id": "1",
|
|
"role": "admin",
|
|
"status_code": 400,
|
|
"method": "POST",
|
|
"request": {
|
|
"kind": "add_column",
|
|
"body": {
|
|
"__type": "add_column",
|
|
"table": "author",
|
|
"column": "age"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |