Skip to content

Commit

Permalink
fix relationship rename for non-public schemas (close #1777) (#2127)
Browse files Browse the repository at this point in the history
  • Loading branch information
wawhal authored and rikinsk committed May 7, 2019
1 parent fd85d0b commit a0bed89
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand All @@ -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,
},
Expand Down

0 comments on commit a0bed89

Please sign in to comment.