From 25a69a201896715a16880709a3d2624ec04ce126 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 3 Dec 2019 15:56:00 -0600 Subject: [PATCH] don't use temporary table on mysql migration as it breaks --- .../20191030000713_EnforceUniqueIndexForEFAliasIPName.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SharedLibraryCore/Migrations/20191030000713_EnforceUniqueIndexForEFAliasIPName.cs b/SharedLibraryCore/Migrations/20191030000713_EnforceUniqueIndexForEFAliasIPName.cs index 1415f32c3..6a913e2a8 100644 --- a/SharedLibraryCore/Migrations/20191030000713_EnforceUniqueIndexForEFAliasIPName.cs +++ b/SharedLibraryCore/Migrations/20191030000713_EnforceUniqueIndexForEFAliasIPName.cs @@ -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`,