20200502231229_InitialSchema.Designer.cs 2.3 KB

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