mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 17:23:10 -05:00
Junierch/db list migration (#20751)
* remove Last Backup colum on assessment db list. * column cleanup * using sqlutils * typo fixed * Typo fixed * use providerid from connection
This commit is contained in:
@@ -14,7 +14,7 @@ import { v4 as uuidv4 } from 'uuid';
|
||||
import { sendSqlMigrationActionEvent, TelemetryAction, TelemetryViews, logError } from '../telemtery';
|
||||
import { hashString, deepClone } from '../api/utils';
|
||||
import { SKURecommendationPage } from '../wizard/skuRecommendationPage';
|
||||
import { excludeDatabses, TargetDatabaseInfo } from '../api/sqlUtils';
|
||||
import { excludeDatabases, TargetDatabaseInfo } from '../api/sqlUtils';
|
||||
const localize = nls.loadMessageBundle();
|
||||
|
||||
export enum State {
|
||||
@@ -294,7 +294,7 @@ export class MigrationStateModel implements Model, vscode.Disposable {
|
||||
}
|
||||
public async getDatabases(): Promise<string[]> {
|
||||
const temp = await azdata.connection.listDatabases(this.sourceConnectionId);
|
||||
const finalResult = temp.filter((name) => !excludeDatabses.includes(name));
|
||||
const finalResult = temp.filter((name) => !excludeDatabases.includes(name));
|
||||
return finalResult;
|
||||
}
|
||||
public hasRecommendedDatabaseListChanged(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user