Skip to content

Commit

Permalink
Merge pull request #36 from keboola/ES-155
Browse files Browse the repository at this point in the history
ES-155 Fix logging of table ownership
  • Loading branch information
pivnicek authored Apr 15, 2024
2 parents ddb5635 + eeb071b commit 486b1d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/MigrateStructure.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,12 @@ function (GrantToRole $v) use ($database, $schemaName, $tableName) {
$ownershipOnTable = current($ownershipOnTable);
$this->logger->info(
sprintf(
'Ownership on table "%s"."%s" is "%s".',
'Ownership on table "%s"."%s" is To: %s, Name: %s, Grantee: %s".',
$schemaName,
$tableName,
$ownershipOnTable->getGrantedTo()
$ownershipOnTable->getGrantedTo(),
$ownershipOnTable->getName(),
$ownershipOnTable->getGranteeName()
)
);

Expand Down

0 comments on commit 486b1d5

Please sign in to comment.