mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-16 09:48:13 -05:00
63 lines
1.8 KiB
C#
63 lines
1.8 KiB
C#
// <auto-generated />
|
|
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<Guid>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Data")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<int>("EventType")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Message")
|
|
.IsRequired()
|
|
.HasMaxLength(1000)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<int>("Severity")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("Timestamp")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<Guid?>("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
|
|
}
|
|
}
|
|
}
|