Fix dbContext
This commit is contained in:
		| @@ -21,8 +21,8 @@ public class EleccionesDbContext(DbContextOptions<EleccionesDbContext> options) | ||||
|         base.OnModelCreating(modelBuilder); | ||||
|  | ||||
|         modelBuilder.Entity<ResultadoVoto>() | ||||
|             .HasIndex(r => new { r.AmbitoGeograficoId, r.AgrupacionPoliticaId }) | ||||
|             .IsUnique(); | ||||
|         .HasIndex(r => new { r.AmbitoGeograficoId, r.CategoriaId, r.AgrupacionPoliticaId }) | ||||
|         .IsUnique(); | ||||
|  | ||||
|         // Precisión para los campos de porcentaje en EstadoRecuento | ||||
|         modelBuilder.Entity<EstadoRecuento>(entity => | ||||
|   | ||||
		Reference in New Issue
	
	Block a user