// using System; using DataModel.Database.Common; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace DataModel.Migrations { [DbContext(typeof(DataContext))] [Migration("20220612151133_202206AddSettings")] partial class _202206AddSettings { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "6.0.5"); modelBuilder.Entity("DataModel.Database.Setting", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("BoolValue") .HasColumnType("INTEGER"); b.Property("GuidValue") .HasColumnType("TEXT"); b.Property("IntegerValue") .HasColumnType("INTEGER"); b.Property("Name") .IsRequired() .HasColumnType("TEXT"); b.Property("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 } } }