mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 15:05:39 +00:00
Fix Bugs
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user