// using System; using Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace Data.Migrations { [DbContext(typeof(DataContext))] partial class DataContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "9.0.5"); modelBuilder.Entity("Data.Models.Events.AppEvent", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("TEXT"); b.Property("Data") .HasColumnType("TEXT"); b.Property("EventType") .HasColumnType("INTEGER"); b.Property("Message") .IsRequired() .HasMaxLength(1000) .HasColumnType("TEXT"); b.Property("Severity") .HasColumnType("INTEGER"); b.Property("Timestamp") .HasColumnType("TEXT"); b.Property("TrackingId") .HasColumnType("TEXT"); b.HasKey("Id"); b.HasIndex("EventType"); b.HasIndex("Message"); b.HasIndex("Severity"); b.HasIndex("Timestamp") .IsDescending(); b.ToTable("Events"); }); #pragma warning restore 612, 618 } } }