From e5eeaf78f207f55e007e0a858a3d1638ce506122 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sat, 18 Jan 2020 00:08:48 +0100 Subject: [PATCH] Fix Storage move command --- src/Console/Storage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Console/Storage.php b/src/Console/Storage.php index f4b4de562e..fcf55a9444 100644 --- a/src/Console/Storage.php +++ b/src/Console/Storage.php @@ -130,7 +130,6 @@ HELP; protected function doMove() { - $tables = null; if (count($this->args) < 1 || count($this->args) > 2) { throw new CommandArgsException('Invalid arguments'); } @@ -141,6 +140,8 @@ HELP; throw new CommandArgsException('Invalid table'); } $tables = [$table]; + } else { + $tables = StorageManager::TABLES; } $current = $this->storageManager->getBackend();