mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 01:25:38 -05:00
set includeCompositeObjects to true if there are database references (#12641)
This commit is contained in:
@@ -8,6 +8,7 @@ import * as os from 'os';
|
||||
import * as constants from './constants';
|
||||
import * as path from 'path';
|
||||
import * as glob from 'fast-glob';
|
||||
import * as mssql from '../../../mssql';
|
||||
import { promises as fs } from 'fs';
|
||||
|
||||
/**
|
||||
@@ -228,3 +229,13 @@ export async function getSqlProjectFilesInFolder(folderPath: string): Promise<st
|
||||
|
||||
return results;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the default deployment options from DacFx
|
||||
*/
|
||||
export async function GetDefaultDeploymentOptions(): Promise<mssql.DeploymentOptions> {
|
||||
const service = (vscode.extensions.getExtension(mssql.extension.name)!.exports as mssql.IExtension).schemaCompare;
|
||||
const result = await service.schemaCompareGetDefaultOptions();
|
||||
|
||||
return result.defaultDeploymentOptions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user