mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
parent
fd85d0ba5b
commit
a0bed89283
@ -47,7 +47,10 @@ const saveRenameRelationship = (oldName, newName, tableName, callback) => {
|
|||||||
{
|
{
|
||||||
type: 'rename_relationship',
|
type: 'rename_relationship',
|
||||||
args: {
|
args: {
|
||||||
table: tableName,
|
table: {
|
||||||
|
name: tableName,
|
||||||
|
schema: currentSchema,
|
||||||
|
},
|
||||||
name: oldName,
|
name: oldName,
|
||||||
new_name: newName,
|
new_name: newName,
|
||||||
},
|
},
|
||||||
@ -57,7 +60,10 @@ const saveRenameRelationship = (oldName, newName, tableName, callback) => {
|
|||||||
{
|
{
|
||||||
type: 'rename_relationship',
|
type: 'rename_relationship',
|
||||||
args: {
|
args: {
|
||||||
table: tableName,
|
table: {
|
||||||
|
name: tableName,
|
||||||
|
schema: currentSchema,
|
||||||
|
},
|
||||||
name: newName,
|
name: newName,
|
||||||
new_name: oldName,
|
new_name: oldName,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user