Fotodokumentation domain hinzugefügt zur EF

This commit is contained in:
HuskyTeufel
2022-03-30 14:19:03 +02:00
parent f59fc036d1
commit f34f4517ca
11 changed files with 562 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ namespace DaSaSo.EntityFramework.Migrations
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "6.0.0-rc.1.21452.10")
.HasAnnotation("ProductVersion", "6.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
@@ -116,6 +116,25 @@ namespace DaSaSo.EntityFramework.Migrations
b.ToTable("Impregnations");
});
modelBuilder.Entity("DaSaSo.Domain.Model.PhotoDocumentation", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<string>("Description")
.HasColumnType("text");
b.Property<string>("PicturePath")
.HasColumnType("text");
b.HasKey("Id");
b.ToTable("PhotoDocumentation");
});
modelBuilder.Entity("DaSaSo.Domain.Model.PipeLiner", b =>
{
b.Property<int>("Id")