Skip to content

Correct three statements in the upgrade and constraints guides - #159

Merged
CaffeinatedCoder merged 2 commits into
mainfrom
docs/152-153-154-upgrade-guide
Oct 20, 2026
Merged

CaffeinatedCoder merged 2 commits into
mainfrom
docs/152-153-154-upgrade-guide

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #152
Closes #153
Closes #154

Problem

Three statements in docs new or current in 5.5.0 were wrong or incomplete:

Change

  • docs/upgrading.md, 5.5.0 introduction: "Until that migration exists, has-pending-model-changes reports changes and Migrate() raises EF Core's pending-model-changes error." Then "The new version alone is not a pending change."
  • docs/upgrading.md, SQLite rebuilds: the refusal is described by the unkeyed ReplaceService, and the guide says it holds for a derived generator too.
  • docs/postgresql-constraints.md: AK_Bookings_RoomId_ValidPeriod.

No changelog line, since these fix docs new in this release, or a doc comment.

Tests

Docs only. Each claim was checked by running the code:

🤖 Generated with Claude Code

- Upgrading, 5.5.0: until the upgrade migration exists,
  has-pending-model-changes reports changes and Migrate() raises EF
  Core's pending-model-changes error. The rendering version alone is no
  pending change (measured: a v2 or unversioned snapshot against the v3
  model yields no operation). (#152)
- Upgrading, SQLite rebuilds: an unkeyed ReplaceService is refused even
  when the generator derives from SQLite's; what decides it is the key.
  (#153)
- PostgreSQL constraints: the default temporal constraint name has one
  underscore after the table, as the differ produces it. (#154)

Closes #152
Closes #153
Closes #154

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 5.5.0 milestone Oct 20, 2026
@CaffeinatedCoder CaffeinatedCoder added documentation Improvements or additions to documentation package/core Affects EFCore.ComplexIndexes package/postgresql Affects EFCore.ComplexIndexes.PostgreSQL area/constraints Temporal (WITHOUT OVERLAPS, PERIOD) and exclusion constraints area/migrations The differs, snapshot format, EnsureCreated and design-time wiring labels Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/constraints Temporal (WITHOUT OVERLAPS, PERIOD) and exclusion constraints area/migrations The differs, snapshot format, EnsureCreated and design-time wiring documentation Improvements or additions to documentation package/core Affects EFCore.ComplexIndexes package/postgresql Affects EFCore.ComplexIndexes.PostgreSQL

Projects

None yet

1 participant