Feat Widgets 1541
This commit is contained in:
		| @@ -284,6 +284,9 @@ namespace Elecciones.Database.Migrations | ||||
|                         .IsRequired() | ||||
|                         .HasColumnType("nvarchar(450)"); | ||||
|  | ||||
|                     b.Property<int?>("AmbitoGeograficoId") | ||||
|                         .HasColumnType("int"); | ||||
|  | ||||
|                     b.Property<int>("CategoriaId") | ||||
|                         .HasColumnType("int"); | ||||
|  | ||||
| @@ -292,8 +295,9 @@ namespace Elecciones.Database.Migrations | ||||
|  | ||||
|                     b.HasKey("Id"); | ||||
|  | ||||
|                     b.HasIndex("AgrupacionPoliticaId", "CategoriaId") | ||||
|                         .IsUnique(); | ||||
|                     b.HasIndex("AgrupacionPoliticaId", "CategoriaId", "AmbitoGeograficoId") | ||||
|                         .IsUnique() | ||||
|                         .HasFilter("[AmbitoGeograficoId] IS NOT NULL"); | ||||
|  | ||||
|                     b.ToTable("LogosAgrupacionesCategorias"); | ||||
|                 }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user