JellyfinDbModelSnapshot.cs 2.2 KB

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