2
0

20200514181226_AddActivityLog.Designer.cs 2.3 KB

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