64 lines
1.8 KiB
C#
64 lines
1.8 KiB
C#
|
// <auto-generated />
|
|||
|
using System;
|
|||
|
using DataModel.Database.Common;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace DataModel.Migrations
|
|||
|
{
|
|||
|
[DbContext(typeof(DataContext))]
|
|||
|
partial class DataContextModelSnapshot : ModelSnapshot
|
|||
|
{
|
|||
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
|
{
|
|||
|
#pragma warning disable 612, 618
|
|||
|
modelBuilder.HasAnnotation("ProductVersion", "6.0.5");
|
|||
|
|
|||
|
modelBuilder.Entity("DataModel.Database.Setting", b =>
|
|||
|
{
|
|||
|
b.Property<int>("Id")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("INTEGER");
|
|||
|
|
|||
|
b.Property<bool>("BoolValue")
|
|||
|
.HasColumnType("INTEGER");
|
|||
|
|
|||
|
b.Property<Guid>("GuidValue")
|
|||
|
.HasColumnType("TEXT");
|
|||
|
|
|||
|
b.Property<int>("IntegerValue")
|
|||
|
.HasColumnType("INTEGER");
|
|||
|
|
|||
|
b.Property<string>("Name")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("TEXT");
|
|||
|
|
|||
|
b.Property<string>("TextValue")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("TEXT");
|
|||
|
|
|||
|
b.HasKey("Id");
|
|||
|
|
|||
|
b.HasIndex("BoolValue");
|
|||
|
|
|||
|
b.HasIndex("GuidValue");
|
|||
|
|
|||
|
b.HasIndex("Id");
|
|||
|
|
|||
|
b.HasIndex("IntegerValue");
|
|||
|
|
|||
|
b.HasIndex("Name")
|
|||
|
.IsUnique();
|
|||
|
|
|||
|
b.HasIndex("TextValue");
|
|||
|
|
|||
|
b.ToTable("Settings");
|
|||
|
});
|
|||
|
#pragma warning restore 612, 618
|
|||
|
}
|
|||
|
}
|
|||
|
}
|