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