fixed quotes

Signed-off-by: dartcafe <github@dartcafe.de>
pull/38910/head
dartcafe 3 years ago
parent ed294f6e43
commit 2211721c2b
No known key found for this signature in database
GPG Key ID: CCE73CEF3035D3C8
  1. 2
      lib/private/DB/PostgreSqlMigrator.php

@ -42,7 +42,7 @@ class PostgreSqlMigrator extends Migrator {
}
$fromDefault = $column->fromColumn->getDefault();
$toDefault = $column->column->getDefault();
$fromDefault = trim((string) $fromDefault, "()");
$fromDefault = trim((string) $fromDefault, '()');
// by intention usage of !=
return $fromDefault != $toDefault;

Loading…
Cancel
Save