This commit is contained in:
Guilherme
2019-09-24 10:46:39 -03:00
parent 2802ef55b1
commit 34ab942f91
57 changed files with 1044 additions and 896 deletions

View File

@ -22,22 +22,23 @@ namespace GerenciaProjetos.Migrations
b.Property<int>("Id")
.ValueGeneratedOnAdd();
b.Property<int>("CriadorId");
b.Property<DateTime>("DataCadastro");
b.Property<string>("Descricao")
.IsRequired()
.HasMaxLength(100);
b.Property<int>("DesenvolvedorId");
b.Property<bool>("FoiResolvido");
b.Property<string>("Prioridade");
b.Property<string>("Prioridade")
.HasMaxLength(25);
b.Property<int>("RequisitoId");
b.HasKey("Id");
b.HasIndex("CriadorId");
b.HasIndex("DesenvolvedorId");
b.HasIndex("RequisitoId");
@ -146,11 +147,6 @@ namespace GerenciaProjetos.Migrations
modelBuilder.Entity("GerenciaProjetos.Models.Bug", b =>
{
b.HasOne("GerenciaProjetos.Models.Desenvolvedor", "Criador")
.WithMany()
.HasForeignKey("CriadorId")
.OnDelete(DeleteBehavior.Cascade);
b.HasOne("GerenciaProjetos.Models.Desenvolvedor", "Desenvolvedor")
.WithMany()
.HasForeignKey("DesenvolvedorId")