Skip to content

Commit

Permalink
fixed quotes
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe committed Jun 20, 2023
1 parent ed294f6 commit 2211721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/DB/PostgreSqlMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $conn
}
$fromDefault = $column->fromColumn->getDefault();
$toDefault = $column->column->getDefault();
$fromDefault = trim((string) $fromDefault, "()");
$fromDefault = trim((string) $fromDefault, '()');

// by intention usage of !=
return $fromDefault != $toDefault;
Expand Down

0 comments on commit 2211721

Please sign in to comment.