More AI changes

This commit is contained in:
moarten
2026-04-09 22:35:54 +02:00
parent 569cfbb85d
commit 87d15b99ed
24 changed files with 973 additions and 20 deletions

View File

@@ -50,14 +50,14 @@ namespace Lutra.Infrastructure.Sql.Migrations
.HasMaxLength(1024)
.HasColumnType("character varying(1024)");
b.Property<Guid?>("VerspakketId")
b.Property<Guid>("VerspakketId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("VerspakketId");
b.ToTable("Beoordelingen");
b.ToTable("Beoordelingen", (string)null);
});
modelBuilder.Entity("Lutra.Domain.Entities.Supermarkt", b =>
@@ -122,7 +122,9 @@ namespace Lutra.Infrastructure.Sql.Migrations
{
b.HasOne("Lutra.Domain.Entities.Verspakket", null)
.WithMany("Beoordelingen")
.HasForeignKey("VerspakketId");
.HasForeignKey("VerspakketId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("Lutra.Domain.Entities.Verspakket", b =>