From 2211721c2bacb1c7b45a56cd8d3cd0020220ea71 Mon Sep 17 00:00:00 2001 From: dartcafe Date: Tue, 20 Jun 2023 18:32:49 +0200 Subject: [PATCH] fixed quotes Signed-off-by: dartcafe --- lib/private/DB/PostgreSqlMigrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/DB/PostgreSqlMigrator.php b/lib/private/DB/PostgreSqlMigrator.php index ec15365873524..92a0842e1a739 100644 --- a/lib/private/DB/PostgreSqlMigrator.php +++ b/lib/private/DB/PostgreSqlMigrator.php @@ -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;