ASPTemplate/Migrations/DatabaseContextModelSnapshot.cs
2023-04-08 12:48:27 +02:00

38 lines
1.1 KiB
C#

// <auto-generated />
using ASPTemplate.Backend.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace ASPTemplate.Migrations
{
[DbContext(typeof(DatabaseContext))]
partial class DatabaseContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "7.0.4");
modelBuilder.Entity("ASPTemplate.Backend.Database.Tables.Config", b =>
{
b.Property<string>("Key")
.HasColumnType("TEXT")
.HasColumnName("Key");
b.Property<string>("Value")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Value");
b.HasKey("Key");
b.ToTable("Config", (string)null);
});
#pragma warning restore 612, 618
}
}
}