don't use temporary table on mysql migration as it breaks

This commit is contained in:
RaidMax 2019-12-03 15:56:00 -06:00
parent 98c4a700a2
commit 25a69a2018

View File

@ -62,7 +62,7 @@ WHERE
else if (migrationBuilder.ActiveProvider == "Pomelo.EntityFrameworkCore.MySql")
{
migrationBuilder.Sql(@"CREATE TEMPORARY TABLE DUPLICATE_ALIASES
migrationBuilder.Sql(@"CREATE TABLE DUPLICATE_ALIASES
SELECT
MIN(`AliasId`) `MIN`,
MAX(`AliasId`) `MAX`,