Fixed an issue where restore generates incorrect options for the schema. Fixes #7123

This commit is contained in:
Nikhil Mohite
2022-01-25 20:14:10 +05:30
committed by Akshay Joshi
parent 0ce3434631
commit 04729f63b8
2 changed files with 2 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ define('tools.restore', [
extraData['database'] = treeInfo.database._label;
if('schema' in treeInfo) {
extraData['schemas'] = treeInfo.schema._label;
extraData['schemas'] = [treeInfo.schema._label];
}
if('table' in treeInfo) {