Страница профиля
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Nashel.Modules.Identity.Domain.Aggregates;
|
||||
using Nashel.Modules.Identity.Domain.Entities;
|
||||
using Nashel.Modules.Identity.Infrastructure.Persistence.Configurations;
|
||||
|
||||
namespace Nashel.Modules.Identity.Infrastructure.Persistence;
|
||||
@@ -11,10 +12,14 @@ public class IdentityDbContext : DbContext
|
||||
}
|
||||
|
||||
public DbSet<Account> Accounts { get; set; }
|
||||
public DbSet<UserProfile> UserProfiles { get; set; }
|
||||
public DbSet<Competency> Competencies { get; set; }
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.ApplyConfiguration(new AccountConfiguration());
|
||||
modelBuilder.ApplyConfiguration(new UserProfileConfiguration());
|
||||
modelBuilder.ApplyConfiguration(new CompetencyConfiguration());
|
||||
base.OnModelCreating(modelBuilder);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user