Newer
Older
--- lib/private/DB/PostgreSqlMigrator.php 2023-06-21 12:07:32.451928839 +0200
+++ ../PostgreSqlMigrator.php 2023-06-21 12:07:28.165261718 +0200
@@ -42,7 +42,7 @@
}
$fromDefault = $column->fromColumn->getDefault();
$toDefault = $column->column->getDefault();
- $fromDefault = trim($fromDefault, "()");
+ $fromDefault = trim((string) $fromDefault, '()');
// by intention usage of !=
return $fromDefault != $toDefault;