From 9751e462329b43f788739cbcb8213fe003938a0b Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 24 Aug 2018 15:29:55 -0500 Subject: [PATCH] try capturing large lists again closes #200 --- .../Seed/Extensions/SeedFilterListsDbContext.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/FilterLists.Data/Seed/Extensions/SeedFilterListsDbContext.cs b/src/FilterLists.Data/Seed/Extensions/SeedFilterListsDbContext.cs index bcc6b9e452..af7d1fce01 100644 --- a/src/FilterLists.Data/Seed/Extensions/SeedFilterListsDbContext.cs +++ b/src/FilterLists.Data/Seed/Extensions/SeedFilterListsDbContext.cs @@ -108,11 +108,10 @@ private static string GetUpdateUnchangedColumnHack(IEnumerable proper return firstId + " = VALUES(" + firstId + ")"; } - //TODO: https://github.com/collinbarrett/FilterLists/issues/200 //TODO: https://github.com/collinbarrett/FilterLists/issues/201 private static void SetCantSnapshot(DbContext dbContext) { - const string rawSqlString = "UPDATE filterlists SET CantSnapshot = 1 WHERE id IN(48, 149, 173, 185, 188, 189, 352, 489)"; + const string rawSqlString = "UPDATE filterlists SET CantSnapshot = 1 WHERE id IN(173, 185, 188, 189)"; dbContext.Database.ExecuteSqlCommand(rawSqlString); dbContext.SaveChanges(); }