Skip to content

fix: sdk:10.0 Dockerfile + IHistoryRepository guard on Migrate() - #1727

Merged
renemadsen merged 1 commit into
stablefrom
feat/ef-migration-helm-job
Jun 2, 2026
Merged

fix: sdk:10.0 Dockerfile + IHistoryRepository guard on Migrate()#1727
renemadsen merged 1 commit into
stablefrom
feat/ef-migration-helm-job

Conversation

@renemadsen

Copy link
Copy Markdown
Member

Summary

  • Upgrade build stage from dotnet/sdk:9.0 to 10.0 (project targets net10.0)
  • Guard Database.Migrate() with IHistoryRepository.Exists() — no DDL when schema is current.

🤖 Generated with Claude Code

…Repository

- Upgrade build stage from dotnet/sdk:9.0 to 10.0 (project targets net10.0)
- Guard Database.Migrate() with IHistoryRepository.Exists() and GetPendingMigrations() check
- Prevents unwanted DDL execution on every pod restart in Galera cluster

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@renemadsen
renemadsen merged commit 9e4c0bb into stable Jun 2, 2026
2 checks passed
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.

1 participant