diff --git a/src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs b/src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs index b2f86808bb5..616cbdcc5d1 100644 --- a/src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs +++ b/src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs @@ -2443,18 +2443,8 @@ alterTableOperation.OldTable[SqlServerAnnotationNames.TemporalHistoryTableSchema if (historyTableName != null) { - var useOldBehavior27375 = AppContext.TryGetSwitch("Microsoft.EntityFrameworkCore.Issue27375", out var enabled27375) - && enabled27375; - if (!useOldBehavior27375) - { - operations.Add( - new DropTableOperation { Name = historyTableName, Schema = historyTableSchema }); - } - else - { - operations.Add( - new DropTableOperation { Name = historyTableName, Schema = alterTableOperation.OldTable.Schema }); - } + operations.Add( + new DropTableOperation { Name = historyTableName, Schema = historyTableSchema }); } operations.Add(operation);