Schema compare publish (#5127)

* adding publish command
This commit is contained in:
kisantia
2019-04-25 10:37:40 +12:00
committed by GitHub
parent 5c2cbc9d29
commit d63f07d29a
11 changed files with 85 additions and 6 deletions

View File

@@ -82,6 +82,7 @@ export class SchemaCompareDialog {
sourceName = this.sourceTextBox.value;
sourceEndpointInfo = {
endpointType: azdata.SchemaCompareEndpointType.dacpac,
serverName: '',
databaseName: '',
ownerUri: '',
packageFilePath: this.sourceTextBox.value
@@ -92,6 +93,7 @@ export class SchemaCompareDialog {
sourceEndpointInfo = {
endpointType: azdata.SchemaCompareEndpointType.database,
serverName: (this.sourceServerDropdown.value as ConnectionDropdownValue).name,
databaseName: (<azdata.CategoryValue>this.sourceDatabaseDropdown.value).name,
ownerUri: ownerUri,
packageFilePath: ''
@@ -103,6 +105,7 @@ export class SchemaCompareDialog {
targetName = this.targetTextBox.value;
targetEndpointInfo = {
endpointType: azdata.SchemaCompareEndpointType.dacpac,
serverName: '',
databaseName: '',
ownerUri: '',
packageFilePath: this.targetTextBox.value
@@ -113,6 +116,7 @@ export class SchemaCompareDialog {
targetEndpointInfo = {
endpointType: azdata.SchemaCompareEndpointType.database,
serverName: (this.targetServerDropdown.value as ConnectionDropdownValue).name,
databaseName: (<azdata.CategoryValue>this.targetDatabaseDropdown.value).name,
ownerUri: ownerUri,
packageFilePath: ''