diff --git a/SessionCompanion/SessionCompanion.Database/ApplicationDbContext.cs b/SessionCompanion/SessionCompanion.Database/ApplicationDbContext.cs index 9a8bd11..d2931b0 100644 --- a/SessionCompanion/SessionCompanion.Database/ApplicationDbContext.cs +++ b/SessionCompanion/SessionCompanion.Database/ApplicationDbContext.cs @@ -20,30 +20,30 @@ namespace SessionCompanion.Database public virtual DbSet Users { get; set; } public ApplicationDbContext(DbContextOptions options) : base(options) { } - } - protected override void OnModelCreating(ModelBuilder builder) - { - base.OnModelCreating(builder); - builder.Entity().HasData( - new - { - Id = 1, - Nickname = "Morwiec", - Password = "123" - }, + protected override void OnModelCreating(ModelBuilder builder) + { + base.OnModelCreating(builder); + builder.Entity().HasData( new { - Id = 2, - Nickname = "Cichoklepiec", + Id = 1, + Nickname = "Morwiec", Password = "123" }, - new - { - Id = 3, - Nickname = "Ruletka", - Password = "123" - } - ); + new + { + Id = 2, + Nickname = "Cichoklepiec", + Password = "123" + }, + new + { + Id = 3, + Nickname = "Ruletka", + Password = "123" + } + ); + } } }