mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
target database mapping and selection bug (#20840)
* target database mapping and selection bug * bump version to 1.1.0 for sql db release
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"name": "sql-migration",
|
"name": "sql-migration",
|
||||||
"displayName": "%displayName%",
|
"displayName": "%displayName%",
|
||||||
"description": "%description%",
|
"description": "%description%",
|
||||||
"version": "1.0.6",
|
"version": "1.1.0",
|
||||||
"publisher": "Microsoft",
|
"publisher": "Microsoft",
|
||||||
"preview": false,
|
"preview": false,
|
||||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
||||||
|
|||||||
@@ -777,7 +777,9 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
|||||||
|
|
||||||
const dbIndex = this.migrationStateModel._sourceDatabaseNames?.indexOf(sourceDatabaseName);
|
const dbIndex = this.migrationStateModel._sourceDatabaseNames?.indexOf(sourceDatabaseName);
|
||||||
if (dbIndex > -1) {
|
if (dbIndex > -1) {
|
||||||
targetDatabaseName = originalTargetDatabaseNames[dbIndex] ?? targetDatabaseName;
|
targetDatabaseName = isSqlDbTarget
|
||||||
|
? targetDatabaseName
|
||||||
|
: originalTargetDatabaseNames[dbIndex] ?? targetDatabaseName;
|
||||||
networkShare = originalNetworkShares[dbIndex] ?? networkShare;
|
networkShare = originalNetworkShares[dbIndex] ?? networkShare;
|
||||||
blob = originalBlobs[dbIndex] ?? blob;
|
blob = originalBlobs[dbIndex] ?? blob;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user