Skip to content

Commit 1d3ae8d

Browse files
committed
Update RunMigrationsCommand.php
1 parent 27fbc09 commit 1d3ae8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webfiori/framework/cli/commands/RunMigrationsCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private function createMigrationsTable() : bool {
5050
$this->migrationsRunner->setConnectionInfo($this->connectionInfo);
5151
}
5252
$this->migrationsRunner->table('migrations')->createTable()->execute();
53-
} catch (Throwable $ex) {
53+
} catch (\Throwable $ex) {
5454
$this->error("Unable to create migrations table due to following:");
5555
$this->println($ex->getMessage());
5656
return false;
@@ -139,6 +139,7 @@ public function exec() : int {
139139
return $this->executeMigrations($runner);
140140
}
141141
private function executeMigrations(MigrationsRunner $runner) {
142+
$this->println("Starting to execute migrations...");
142143
$listOfApplied = [];
143144
while ($this->applyNext($runner, $listOfApplied)){};
144145

0 commit comments

Comments
 (0)