We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1e1dfa commit 36dc641Copy full SHA for 36dc641
src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs
@@ -2606,9 +2606,8 @@ private IReadOnlyList<MigrationOperation> RewriteOperations(
2606
operations.Add(operation);
2607
}
2608
2609
- // we removed the table, so we no longer need it's temporal information
2610
- // there will be no more operations involving this table
2611
- temporalTableInformationMap.Remove((tableName, schema));
+ // Note that we leave the information in temporalTableInformationMap in case there's a later CreateTable operation
+ // on the same table name (see #35162).
2612
2613
break;
2614
0 commit comments