The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20190804060703_2_5_1_PersistedGrantDBUpdateMigration.Designer.cs 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // <auto-generated />
  2. using System;
  3. using IdentityServer4.EntityFramework.DbContexts;
  4. using Microsoft.EntityFrameworkCore;
  5. using Microsoft.EntityFrameworkCore.Infrastructure;
  6. using Microsoft.EntityFrameworkCore.Metadata;
  7. using Microsoft.EntityFrameworkCore.Migrations;
  8. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  9. namespace Teknik.IdentityServer.Data.Migrations.IdentityServer.PersistedGrantDb
  10. {
  11. [DbContext(typeof(PersistedGrantDbContext))]
  12. [Migration("20190804060703_2_5_1_PersistedGrantDBUpdateMigration")]
  13. partial class _2_5_1_PersistedGrantDBUpdateMigration
  14. {
  15. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  16. {
  17. #pragma warning disable 612, 618
  18. modelBuilder
  19. .HasAnnotation("ProductVersion", "2.2.6-servicing-10079")
  20. .HasAnnotation("Relational:MaxIdentifierLength", 128)
  21. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  22. modelBuilder.Entity("IdentityServer4.EntityFramework.Entities.DeviceFlowCodes", b =>
  23. {
  24. b.Property<string>("UserCode")
  25. .ValueGeneratedOnAdd()
  26. .HasMaxLength(200);
  27. b.Property<string>("ClientId")
  28. .IsRequired()
  29. .HasMaxLength(200);
  30. b.Property<DateTime>("CreationTime");
  31. b.Property<string>("Data")
  32. .IsRequired()
  33. .HasMaxLength(50000);
  34. b.Property<string>("DeviceCode")
  35. .IsRequired()
  36. .HasMaxLength(200);
  37. b.Property<DateTime?>("Expiration")
  38. .IsRequired();
  39. b.Property<string>("SubjectId")
  40. .HasMaxLength(200);
  41. b.HasKey("UserCode");
  42. b.HasIndex("DeviceCode")
  43. .IsUnique();
  44. b.HasIndex("Expiration");
  45. b.ToTable("DeviceCodes");
  46. });
  47. modelBuilder.Entity("IdentityServer4.EntityFramework.Entities.PersistedGrant", b =>
  48. {
  49. b.Property<string>("Key")
  50. .HasMaxLength(200);
  51. b.Property<string>("ClientId")
  52. .IsRequired()
  53. .HasMaxLength(200);
  54. b.Property<DateTime>("CreationTime");
  55. b.Property<string>("Data")
  56. .IsRequired()
  57. .HasMaxLength(50000);
  58. b.Property<DateTime?>("Expiration");
  59. b.Property<string>("SubjectId")
  60. .HasMaxLength(200);
  61. b.Property<string>("Type")
  62. .IsRequired()
  63. .HasMaxLength(50);
  64. b.HasKey("Key");
  65. b.HasIndex("SubjectId", "ClientId", "Type", "Expiration");
  66. b.ToTable("PersistedGrants");
  67. });
  68. #pragma warning restore 612, 618
  69. }
  70. }
  71. }