// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PaperlessAI.Context; #nullable disable namespace PaperlessAI.Migrations { [DbContext(typeof(MyDbContext))] partial class MyDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .UseCollation("utf8mb4_uca1400_ai_ci") .HasAnnotation("ProductVersion", "10.0.12") .HasAnnotation("Relational:MaxIdentifierLength", 64); MySqlModelBuilderExtensions.HasCharSet(modelBuilder, "utf8mb4"); MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder); modelBuilder.Entity("PaperlessAI.Models.PaperlessDocument", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id")); b.Property("CreatedAt") .HasColumnType("datetime(6)"); b.Property("DocumentId") .HasColumnType("bigint"); b.Property("DocumentState") .HasColumnType("int"); b.Property("LastLlmMessage") .IsRequired() .HasColumnType("longtext"); b.Property("ModifiedAt") .HasColumnType("datetime(6)"); b.HasKey("Id"); b.HasIndex("DocumentId") .IsUnique(); b.ToTable("PaperlessDocuments"); }); #pragma warning restore 612, 618 } } }