|
|
|
@ -10,14 +10,14 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
|
|
|
namespace AuthServer.Host.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(AuthServerDbContext))] |
|
|
|
[Migration("20190408114124_Initial")] |
|
|
|
[Migration("20190816095916_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder) |
|
|
|
{ |
|
|
|
#pragma warning disable 612, 618
|
|
|
|
modelBuilder |
|
|
|
.HasAnnotation("ProductVersion", "2.2.0-rtm-35687") |
|
|
|
.HasAnnotation("ProductVersion", "2.2.6-servicing-10079") |
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128) |
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); |
|
|
|
|
|
|
|
@ -524,7 +524,9 @@ namespace AuthServer.Host.Migrations |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd(); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp"); |
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
.IsConcurrencyToken() |
|
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
b.Property<DateTime>("CreationTime") |
|
|
|
.HasColumnName("CreationTime"); |
|
|
|
@ -564,6 +566,8 @@ namespace AuthServer.Host.Migrations |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(200); |
|
|
|
|
|
|
|
b.Property<string>("Properties"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiResources"); |
|
|
|
@ -683,7 +687,9 @@ namespace AuthServer.Host.Migrations |
|
|
|
b.Property<string>("ClientUri") |
|
|
|
.HasMaxLength(300); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp"); |
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
.IsConcurrencyToken() |
|
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
b.Property<int?>("ConsentLifetime"); |
|
|
|
|
|
|
|
@ -702,6 +708,8 @@ namespace AuthServer.Host.Migrations |
|
|
|
b.Property<string>("Description") |
|
|
|
.HasMaxLength(1000); |
|
|
|
|
|
|
|
b.Property<int>("DeviceCodeLifetime"); |
|
|
|
|
|
|
|
b.Property<bool>("EnableLocalLogin"); |
|
|
|
|
|
|
|
b.Property<bool>("Enabled"); |
|
|
|
@ -753,6 +761,11 @@ namespace AuthServer.Host.Migrations |
|
|
|
|
|
|
|
b.Property<bool>("UpdateAccessTokenClaimsOnRefresh"); |
|
|
|
|
|
|
|
b.Property<string>("UserCodeType") |
|
|
|
.HasMaxLength(100); |
|
|
|
|
|
|
|
b.Property<int?>("UserSsoLifetime"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("ClientId") |
|
|
|
@ -938,7 +951,9 @@ namespace AuthServer.Host.Migrations |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd(); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp"); |
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
.IsConcurrencyToken() |
|
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
b.Property<DateTime>("CreationTime") |
|
|
|
.HasColumnName("CreationTime"); |
|
|
|
@ -980,6 +995,8 @@ namespace AuthServer.Host.Migrations |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(200); |
|
|
|
|
|
|
|
b.Property<string>("Properties"); |
|
|
|
|
|
|
|
b.Property<bool>("Required"); |
|
|
|
|
|
|
|
b.Property<bool>("ShowInDiscoveryDocument"); |