diff --git a/BackupCommand.php b/BackupCommand.php index 5305f78..8e1064c 100644 --- a/BackupCommand.php +++ b/BackupCommand.php @@ -68,11 +68,7 @@ class BackupCommand extends Command $table[] = current($value); } } - - $databaseInfo = $data->createCommand('show create DATABASE `' . $data->database . '`')->one(); - - $database = next($databaseInfo); - + $path = $input->getArgument('path'); if (!str_starts_with($path, '/')) { $path = APP_PATH . $path;