Remove OnConfiguring
override in dbContext
This commit is contained in:
parent
a84e0ac03c
commit
811b30294d
@ -16,9 +16,6 @@ public class LeedsBeerQuestDbContext : DbContext
|
|||||||
public DbSet<Category> Categories { get; set; }
|
public DbSet<Category> Categories { get; set; }
|
||||||
public DbSet<Tag> Tags { get; set; }
|
public DbSet<Tag> Tags { get; set; }
|
||||||
|
|
||||||
// protected override void OnConfiguring(DbContextOptionsBuilder options)
|
|
||||||
// => options.UseSqlite("Data Source=lbq.db");
|
|
||||||
|
|
||||||
// protected override void OnModelCreating(ModelBuilder modelBuilder)
|
// protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||||
// {
|
// {
|
||||||
// var seeder = new LeedsBeerQuestSeeder(modelBuilder, "");
|
// var seeder = new LeedsBeerQuestSeeder(modelBuilder, "");
|
||||||
|
Loading…
Reference in New Issue
Block a user