Skip to content

Commit

Permalink
Update Sql schema migration and version package to new url (#27203)
Browse files Browse the repository at this point in the history
* Update New-AzDataMigrationSqlServerSchema.ps1

* Update URL for console app version check

* Update ChangeLog.md
  • Loading branch information
NoriZC authored Feb 24, 2025
1 parent b5d8e46 commit f4a98b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function New-AzDataMigrationSqlServerSchema
$TestExePath = Test-Path -Path $ExePath;

#Console app download address
$ZipSource = "https://migrationapps.blob.core.windows.net/schemamigration/SqlSchemaMigration.zip";
$ZipSource = "https://aka.ms/sqlschemamigrationpackage";
$ZipDestination = Join-Path -Path $BaseFolder -ChildPath "SqlSchemaMigration.zip";

if(-Not $TestExePath)
Expand All @@ -108,7 +108,7 @@ function New-AzDataMigrationSqlServerSchema

# Get latest console app version
Write-Host "Checking whether there is newer version...";
$VersionFileSource = "https://migrationapps.blob.core.windows.net/schemamigration/consoleappversion.json";
$VersionFileSource = "aka.ms/sqlschemamigrationversion";
$VersionFileDestination = Join-Path -Path $BaseFolder -ChildPath "consoleappversion.json";
Invoke-RestMethod -Uri $VersionFileSource -OutFile $VersionFileDestination;
$jsonObj = Get-Content $VersionFileDestination | Out-String | ConvertFrom-Json;
Expand Down Expand Up @@ -186,4 +186,4 @@ function New-AzDataMigrationSqlServerSchema
throw $_
}
}
}
}
1 change: 1 addition & 0 deletions src/DataMigration/DataMigration/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Updated Sql schema migration and version package to new url.

## Version 0.14.9
* Upgraded nuget package to signed package.
Expand Down

0 comments on commit f4a98b0

Please sign in to comment.