Commit 1e32073
authored
Problem was that migration model differ was too lax with pairing up columns. Fix is to add more predicates - one that matches annotations+values and one that just matches annotations, ignoring the values, before we fallback to simple column definition.
Now that we reworked temporal annotations, this actually gives clean match for the period start and period end column.
Moreover, this change could improve matching in other, non-temporal scenarios.
Fixes #29902
1 parent f55b4a0 commit 1e32073
File tree
2 files changed
+45
-1
lines changed- src/EFCore.Relational/Migrations/Internal
- test/EFCore.SqlServer.FunctionalTests/Migrations
2 files changed
+45
-1
lines changedLines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
| 932 | + | |
| 933 | + | |
932 | 934 | | |
933 | 935 | | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
934 | 978 | | |
935 | 979 | | |
936 | 980 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8429 | 8429 | | |
8430 | 8430 | | |
8431 | 8431 | | |
8432 | | - | |
| 8432 | + | |
8433 | 8433 | | |
8434 | 8434 | | |
8435 | 8435 | | |
| |||
0 commit comments