mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Revert "bump dbcontext command timeout"
This reverts commit 3d24f1dbec.
This commit is contained in:
parent
3d24f1dbec
commit
8d0a31afdb
1 changed files with 1 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using FilterLists.Data.Entities;
|
||||
using FilterLists.Data.Entities;
|
||||
using FilterLists.Data.Entities.Junctions;
|
||||
using FilterLists.Data.EntityTypeConfigurations;
|
||||
using FilterLists.Data.EntityTypeConfigurations.Junctions;
|
||||
|
|
@ -11,7 +10,6 @@ public class FilterListsDbContext : DbContext
|
|||
{
|
||||
public FilterListsDbContext(DbContextOptions options) : base(options)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public DbSet<FilterList> FilterLists { get; set; }
|
||||
|
|
@ -35,7 +33,6 @@ public FilterListsDbContext(DbContextOptions options) : base(options)
|
|||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
Database.SetCommandTimeout((int)TimeSpan.FromMinutes(5).TotalSeconds);
|
||||
base.OnModelCreating(modelBuilder);
|
||||
ApplyConfigurations(modelBuilder);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue