This commit is contained in:
2023-04-12 10:08:11 +08:00
parent 6aac4ac878
commit 5600ede420
+1 -5
View File
@@ -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;