Skip to content

[2515] existing migration deployment#1376

Merged
strongmindsaln merged 8 commits into
masterfrom
feature/kitosudv-2515-dotnet10-migration
Apr 22, 2026
Merged

[2515] existing migration deployment#1376
strongmindsaln merged 8 commits into
masterfrom
feature/kitosudv-2515-dotnet10-migration

Conversation

@strongmindsaln

Copy link
Copy Markdown
Collaborator

KITOS Pull request template

Description

Describe what was changed in this branch, and WHY it was changed.

Checklist

The following procedure dictates the steps needed before a Pull request can be merged into master.

  • Implement:
    All requirements are implemented and unit tests are green

  • Merge master into branch / rebase with master:
    Make sure you are testing your changes and how they co-exist with the latest version of master

  • Green on integration:
    All integration tests are green on integration

  • Add a description
    Under "Description" above, explain what was changed in this branch, and WHY it was changed

  • Request review:
    Tag whomever you wish to review your code

  • Review completed:
    Reviewer ticks this box when review comments have been submitted

  • Changes:
    PR owner and reviewer agrees on which changes must be made and the changes are committed.

  • Merge master into branch / rebase with master:
    Make sure you are testing your changes and how they co-exist with the latest version of master

  • Green on integration:
    All integration tests are green on integration

Copilot AI review requested due to automatic review settings April 21, 2026 09:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the database migration deployment script to better handle existing databases during the EF6 → EF Core migration transition, by pre-marking an additional EF Core migration as applied and adjusting how the generated SQL is written to disk for sqlcmd.

Changes:

  • Pre-mark AddExternalAndInternalPaymentOrganizationUnits_ToContractReadModel in __EFMigrationsHistory when the target schema already contains the expected column(s).
  • Write the temporary initialization SQL file without a UTF-8 BOM to avoid sqlcmd parsing issues on some environments.

Comment thread DeploymentScripts/DbMigrations.ps1 Outdated
@strongmindsaln
strongmindsaln merged commit bdd2676 into master Apr 22, 2026
6 checks passed
@strongmindsaln
strongmindsaln deleted the feature/kitosudv-2515-dotnet10-migration branch April 22, 2026 05:56
@strongmindsmhs
strongmindsmhs requested review from strongmindsmhs and removed request for strongmindsmhs April 22, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants