Skip to content

Commit

Permalink
Temporary fix for DropTable/CreateTable issue around temporal tables
Browse files Browse the repository at this point in the history
Fixes #35162
  • Loading branch information
roji committed Nov 27, 2024
1 parent d1e1dfa commit 36dc641
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2606,9 +2606,8 @@ private IReadOnlyList<MigrationOperation> RewriteOperations(
operations.Add(operation);
}

// we removed the table, so we no longer need it's temporal information
// there will be no more operations involving this table
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).

break;
}
Expand Down

0 comments on commit 36dc641

Please sign in to comment.