Repository navigation
Description
Decided 2026-11-11 (plan, section 3.13). The fixtures are generated by the published 5.x packages: a net10.0 project restores EFCore.ComplexIndexes 5.6.x from nuget.org, scaffolds real snapshots and migrations, and the results are checked in. The move is computed by a one-way handover matcher: a 5.x descriptor and an operation of the inner differ that are equal in full physical terms cancel out. A mismatch never discards: a 5.x temporal constraint the native key cannot represent is a refusal with the documented path.
Problem
The spin-off (#1) asks every consumer to make two changes when they move to EF Core 11: swap EFCore.ComplexIndexes 5.x for SchemaKit, and move what EF Core 11 and Npgsql 11 now do natively to the native API (#3). If the swap changes an index or constraint name, or leaves behind an annotation the new differ doesn't read, the consumer's next migration drops and recreates indexes and constraints on production tables. It does so without any error, which is exactly what the silent label is for.
This test is what makes the spin-off acceptable.
Change
One end-to-end test per feature:
- Start from a model and a snapshot generated by
EFCore.ComplexIndexes5.x, checked in. - Rewrite the same model for SchemaKit as the migration guide says: native
HasIndexfor complex-type indexes, nativeWithoutOverlaps/WithPeriodwherever SchemaKit: leave out what EF Core 11 and Npgsql 11 do natively; keep what stays unique #3 leaves temporal constraints to the platform, SchemaKit for the rest. - Run
migrations add. It must produce no operations, or exactly the ones the migration guide lists.
Run it on PostgreSQL 16 and 18 and on SQL Server.
Done when
- Every feature 5.x ships has its test.
- The migration guide's "EFCore.ComplexIndexes 5.x → SchemaKit" section is checked against these tests.
- It ships before 11.0.0.
Activity