变更
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ class BackupCommand extends Command
|
||||
if ($table !== null) {
|
||||
$table = explode(',', $table);
|
||||
} else {
|
||||
$tmp = $data->createCommand('show tables from `users`')->all();
|
||||
$tmp = $data->createCommand('show tables from `' . $data->database . '`')->all();
|
||||
$table = [];
|
||||
foreach ($tmp as $value) {
|
||||
$table[] = current($value);
|
||||
|
||||
Reference in New Issue
Block a user