When using the ParentConnection.update() functionality, if the schema of the connection is difference than the existing connection, the Relation table will not get updated.
This causes issues when the metadata updates for the new connection (it will use the metadata of the original table).
Added functionality to the ParentConnection.update() to update the Relation.table for the new Connection.schema
Summary & Changes
When using the
ParentConnection.update()
functionality, if theschema
of the connection is difference than the existing connection, theRelation
table will not get updated. This causes issues when the metadata updates for the new connection (it will use the metadata of the original table).ParentConnection.update()
to update theRelation.table
for the newConnection.schema