don't use temporary table on mysql migration as it breaks
This commit is contained in:
parent
98c4a700a2
commit
25a69a2018
@ -62,7 +62,7 @@ WHERE
|
|||||||
|
|
||||||
else if (migrationBuilder.ActiveProvider == "Pomelo.EntityFrameworkCore.MySql")
|
else if (migrationBuilder.ActiveProvider == "Pomelo.EntityFrameworkCore.MySql")
|
||||||
{
|
{
|
||||||
migrationBuilder.Sql(@"CREATE TEMPORARY TABLE DUPLICATE_ALIASES
|
migrationBuilder.Sql(@"CREATE TABLE DUPLICATE_ALIASES
|
||||||
SELECT
|
SELECT
|
||||||
MIN(`AliasId`) `MIN`,
|
MIN(`AliasId`) `MIN`,
|
||||||
MAX(`AliasId`) `MAX`,
|
MAX(`AliasId`) `MAX`,
|
||||||
|
Loading…
Reference in New Issue
Block a user