diff --git a/src/FilterLists.Data/FilterListsDesignTimeDbContextFactory.cs b/src/FilterLists.Data/FilterListsDesignTimeDbContextFactory.cs deleted file mode 100644 index ee34cb2dd..000000000 --- a/src/FilterLists.Data/FilterListsDesignTimeDbContextFactory.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using JetBrains.Annotations; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Design; - -namespace FilterLists.Data -{ - //TODO: [BLOCKED] pass connection string https://github.com/aspnet/EntityFrameworkCore/issues/8332 - //[UsedImplicitly] - //public class FilterListsDesignTimeDbContextFactory : IDesignTimeDbContextFactory - //{ - // private readonly int commandTimeoutSecs = (int)TimeSpan.FromMinutes(30).TotalSeconds; - - // /// - // /// increases command timeout for design time migrations - // /// - // public FilterListsDbContext CreateDbContext(string[] args) - // { - // var optionsBuilder = new DbContextOptionsBuilder(); - // optionsBuilder.UseMySql( - // @"", - // o => - // { - // o.MigrationsAssembly("FilterLists.Api"); - // o.CommandTimeout(commandTimeoutSecs); - // } - // ); - - // return new FilterListsDbContext(optionsBuilder.Options); - // } - //} -} \ No newline at end of file