New Migration

This commit is contained in:
GuiNerd
2019-09-22 09:00:10 -03:00
parent 07230df64b
commit f9c65d9a91
33 changed files with 1199 additions and 198 deletions

View File

@ -24,8 +24,6 @@ namespace GerenciaProjetos.Data
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<Bug>()
.HasKey(b => new { b.DesenvolvedorId, b.RequisitoId });
modelBuilder.Entity<DesenvolvedorProjeto>()
.HasKey(p => new { p.DesenvolvedorId, p.ProjetoId });
modelBuilder.Entity<DesenvolvedorRequisito>()