JellyfinDbModelSnapshot.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // <auto-generated />
  2. using System;
  3. using Microsoft.EntityFrameworkCore;
  4. using Microsoft.EntityFrameworkCore.Infrastructure;
  5. namespace Jellyfin.Server.Implementations.Migrations
  6. {
  7. [DbContext(typeof(JellyfinDb))]
  8. partial class JellyfinDbModelSnapshot : ModelSnapshot
  9. {
  10. protected override void BuildModel(ModelBuilder modelBuilder)
  11. {
  12. #pragma warning disable 612, 618
  13. modelBuilder
  14. .HasDefaultSchema("jellyfin")
  15. .HasAnnotation("ProductVersion", "3.1.3");
  16. modelBuilder.Entity("Jellyfin.Data.Entities.ActivityLog", b =>
  17. {
  18. b.Property<int>("Id")
  19. .ValueGeneratedOnAdd()
  20. .HasColumnType("INTEGER");
  21. b.Property<DateTime>("DateCreated")
  22. .HasColumnType("TEXT");
  23. b.Property<string>("ItemId")
  24. .HasColumnType("TEXT")
  25. .HasMaxLength(256);
  26. b.Property<int>("LogSeverity")
  27. .HasColumnType("INTEGER");
  28. b.Property<string>("Name")
  29. .IsRequired()
  30. .HasColumnType("TEXT")
  31. .HasMaxLength(512);
  32. b.Property<string>("Overview")
  33. .HasColumnType("TEXT")
  34. .HasMaxLength(512);
  35. b.Property<uint>("RowVersion")
  36. .IsConcurrencyToken()
  37. .HasColumnType("INTEGER");
  38. b.Property<string>("ShortOverview")
  39. .HasColumnType("TEXT")
  40. .HasMaxLength(512);
  41. b.Property<string>("Type")
  42. .IsRequired()
  43. .HasColumnType("TEXT")
  44. .HasMaxLength(256);
  45. b.Property<Guid>("UserId")
  46. .HasColumnType("TEXT");
  47. b.HasKey("Id");
  48. b.ToTable("ActivityLogs");
  49. });
  50. #pragma warning restore 612, 618
  51. }
  52. }
  53. }