1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-08 06:08:20 -05:00

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 e1d19d0cdd
commit 1e69cf85b6

View File

@ -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`,