Skip to content

Commit

Permalink
fix: Unable to determine the relationship represented by navigation '…
Browse files Browse the repository at this point in the history
…Skill.MetaData' of type 'MetaData'

Register: ApplyConfiguration on OnModelCreating via modelBuilder
  • Loading branch information
nixhantb committed Feb 15, 2024
1 parent a6da005 commit 5f2c856
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public BaseDBContext(DbContextOptions<BaseDBContext> options) : base(options)
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.ApplyConfiguration(new EmailConfiguration());
modelBuilder.ApplyConfiguration(new SkillConfiguration());
base.OnModelCreating(modelBuilder);
}
}
Expand Down

0 comments on commit 5f2c856

Please sign in to comment.