Skip to content

Commit d6a4468

Browse files
committed
test: debug oracle
1 parent f08303c commit d6a4468

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/private/DB/Migrator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ protected function applySchema(Schema $targetSchema, \Doctrine\DBAL\Connection $
179179
$sqls = $schemaDiff->toSql($connection->getDatabasePlatform());
180180
$step = 0;
181181
foreach ($sqls as $sql) {
182+
echo "Running statement: " . $sql . "\n";
182183
$this->emit($sql, $step++, \count($sqls));
183184
$connection->query($sql);
184185
}

lib/private/Setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ public function install($options) {
358358
} catch (Exception $e) {
359359
$error[] = [
360360
'error' => 'Error while trying to create admin user: ' . $e->getMessage(),
361-
'hint' => ''
361+
'hint' => $e->getTraceAsString()
362362
];
363363
return($error);
364364
}

0 commit comments

Comments
 (0)