diff --git a/samples/BookStore-Modular/application/src/Acme.BookStore.EntityFrameworkCore.DbMigrations/Migrations/20190918061142_Initial.Designer.cs b/samples/BookStore-Modular/application/src/Acme.BookStore.EntityFrameworkCore.DbMigrations/Migrations/20190918061142_Initial.Designer.cs
deleted file mode 100644
index e8370037ab..0000000000
--- a/samples/BookStore-Modular/application/src/Acme.BookStore.EntityFrameworkCore.DbMigrations/Migrations/20190918061142_Initial.Designer.cs
+++ /dev/null
@@ -1,1384 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Acme.BookStore.EntityFrameworkCore;
-
-namespace Acme.BookStore.Migrations
-{
- [DbContext(typeof(BookStoreMigrationsDbContext))]
- [Migration("20190918061142_Initial")]
- partial class Initial
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.2.6-servicing-10079")
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ApplicationName")
- .HasColumnName("ApplicationName")
- .HasMaxLength(96);
-
- b.Property("BrowserInfo")
- .HasColumnName("BrowserInfo")
- .HasMaxLength(512);
-
- b.Property("ClientId")
- .HasColumnName("ClientId")
- .HasMaxLength(64);
-
- b.Property("ClientIpAddress")
- .HasColumnName("ClientIpAddress")
- .HasMaxLength(64);
-
- b.Property("ClientName")
- .HasColumnName("ClientName")
- .HasMaxLength(128);
-
- b.Property("Comments")
- .HasColumnName("Comments")
- .HasMaxLength(256);
-
- b.Property("ConcurrencyStamp");
-
- b.Property("CorrelationId")
- .HasColumnName("CorrelationId")
- .HasMaxLength(64);
-
- b.Property("Exceptions")
- .HasColumnName("Exceptions")
- .HasMaxLength(4000);
-
- b.Property("ExecutionDuration")
- .HasColumnName("ExecutionDuration");
-
- b.Property("ExecutionTime");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("HttpMethod")
- .HasColumnName("HttpMethod")
- .HasMaxLength(16);
-
- b.Property("HttpStatusCode")
- .HasColumnName("HttpStatusCode");
-
- b.Property("ImpersonatorTenantId")
- .HasColumnName("ImpersonatorTenantId");
-
- b.Property("ImpersonatorUserId")
- .HasColumnName("ImpersonatorUserId");
-
- b.Property("TenantId")
- .HasColumnName("TenantId");
-
- b.Property("TenantName");
-
- b.Property("Url")
- .HasColumnName("Url")
- .HasMaxLength(256);
-
- b.Property("UserId")
- .HasColumnName("UserId");
-
- b.Property("UserName")
- .HasColumnName("UserName")
- .HasMaxLength(256);
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "ExecutionTime");
-
- b.HasIndex("TenantId", "UserId", "ExecutionTime");
-
- b.ToTable("AbpAuditLogs");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AuditLogId")
- .HasColumnName("AuditLogId");
-
- b.Property("ExecutionDuration")
- .HasColumnName("ExecutionDuration");
-
- b.Property("ExecutionTime")
- .HasColumnName("ExecutionTime");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("MethodName")
- .HasColumnName("MethodName")
- .HasMaxLength(128);
-
- b.Property("Parameters")
- .HasColumnName("Parameters")
- .HasMaxLength(2000);
-
- b.Property("ServiceName")
- .HasColumnName("ServiceName")
- .HasMaxLength(256);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("AuditLogId");
-
- b.HasIndex("TenantId", "ServiceName", "MethodName", "ExecutionTime");
-
- b.ToTable("AbpAuditLogActions");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AuditLogId")
- .HasColumnName("AuditLogId");
-
- b.Property("ChangeTime")
- .HasColumnName("ChangeTime");
-
- b.Property("ChangeType")
- .HasColumnName("ChangeType");
-
- b.Property("EntityId")
- .IsRequired()
- .HasColumnName("EntityId")
- .HasMaxLength(128);
-
- b.Property("EntityTenantId");
-
- b.Property("EntityTypeFullName")
- .IsRequired()
- .HasColumnName("EntityTypeFullName")
- .HasMaxLength(128);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("TenantId")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("AuditLogId");
-
- b.HasIndex("TenantId", "EntityTypeFullName", "EntityId");
-
- b.ToTable("AbpEntityChanges");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("EntityChangeId");
-
- b.Property("NewValue")
- .HasColumnName("NewValue")
- .HasMaxLength(512);
-
- b.Property("OriginalValue")
- .HasColumnName("OriginalValue")
- .HasMaxLength(512);
-
- b.Property("PropertyName")
- .IsRequired()
- .HasColumnName("PropertyName")
- .HasMaxLength(128);
-
- b.Property("PropertyTypeFullName")
- .IsRequired()
- .HasColumnName("PropertyTypeFullName")
- .HasMaxLength(64);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("EntityChangeId");
-
- b.ToTable("AbpEntityPropertyChanges");
- });
-
- modelBuilder.Entity("Volo.Abp.BackgroundJobs.BackgroundJobRecord", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsAbandoned")
- .ValueGeneratedOnAdd()
- .HasDefaultValue(false);
-
- b.Property("JobArgs")
- .IsRequired()
- .HasMaxLength(1048576);
-
- b.Property("JobName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("LastTryTime");
-
- b.Property("NextTryTime");
-
- b.Property("Priority")
- .ValueGeneratedOnAdd()
- .HasDefaultValue((byte)15);
-
- b.Property("TryCount")
- .ValueGeneratedOnAdd()
- .HasDefaultValue((short)0);
-
- b.HasKey("Id");
-
- b.HasIndex("IsAbandoned", "NextTryTime");
-
- b.ToTable("AbpBackgroundJobs");
- });
-
- modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureValue", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ProviderKey")
- .HasMaxLength(64);
-
- b.Property("ProviderName")
- .HasMaxLength(64);
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(128);
-
- b.HasKey("Id");
-
- b.HasIndex("Name", "ProviderName", "ProviderKey");
-
- b.ToTable("AbpFeatureValues");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasColumnName("ConcurrencyStamp")
- .HasMaxLength(256);
-
- b.Property("Description")
- .HasMaxLength(256);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsStatic");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("Regex")
- .HasMaxLength(512);
-
- b.Property("RegexDescription")
- .HasMaxLength(128);
-
- b.Property("Required");
-
- b.Property("ValueType");
-
- b.HasKey("Id");
-
- b.ToTable("AbpClaimTypes");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasColumnName("ConcurrencyStamp")
- .HasMaxLength(256);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDefault")
- .HasColumnName("IsDefault");
-
- b.Property("IsPublic")
- .HasColumnName("IsPublic");
-
- b.Property("IsStatic")
- .HasColumnName("IsStatic");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("NormalizedName")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("NormalizedName");
-
- b.ToTable("AbpRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("ClaimValue")
- .HasMaxLength(1024);
-
- b.Property("RoleId");
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("RoleId");
-
- b.ToTable("AbpRoleClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AccessFailedCount")
- .ValueGeneratedOnAdd()
- .HasColumnName("AccessFailedCount")
- .HasDefaultValue(0);
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnName("DeletionTime");
-
- b.Property("Email")
- .HasColumnName("Email")
- .HasMaxLength(256);
-
- b.Property("EmailConfirmed")
- .ValueGeneratedOnAdd()
- .HasColumnName("EmailConfirmed")
- .HasDefaultValue(false);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnName("IsDeleted")
- .HasDefaultValue(false);
-
- b.Property("LastModificationTime")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnName("LastModifierId");
-
- b.Property("LockoutEnabled")
- .ValueGeneratedOnAdd()
- .HasColumnName("LockoutEnabled")
- .HasDefaultValue(false);
-
- b.Property("LockoutEnd");
-
- b.Property("Name")
- .HasColumnName("Name")
- .HasMaxLength(64);
-
- b.Property("NormalizedEmail")
- .HasColumnName("NormalizedEmail")
- .HasMaxLength(256);
-
- b.Property("NormalizedUserName")
- .IsRequired()
- .HasColumnName("NormalizedUserName")
- .HasMaxLength(256);
-
- b.Property("PasswordHash")
- .HasColumnName("PasswordHash")
- .HasMaxLength(256);
-
- b.Property("PhoneNumber")
- .HasColumnName("PhoneNumber")
- .HasMaxLength(16);
-
- b.Property("PhoneNumberConfirmed")
- .ValueGeneratedOnAdd()
- .HasColumnName("PhoneNumberConfirmed")
- .HasDefaultValue(false);
-
- b.Property("SecurityStamp")
- .IsRequired()
- .HasColumnName("SecurityStamp")
- .HasMaxLength(256);
-
- b.Property("Surname")
- .HasColumnName("Surname")
- .HasMaxLength(64);
-
- b.Property("TenantId")
- .HasColumnName("TenantId");
-
- b.Property("TwoFactorEnabled")
- .ValueGeneratedOnAdd()
- .HasColumnName("TwoFactorEnabled")
- .HasDefaultValue(false);
-
- b.Property("UserName")
- .IsRequired()
- .HasColumnName("UserName")
- .HasMaxLength(256);
-
- b.HasKey("Id");
-
- b.HasIndex("Email");
-
- b.HasIndex("NormalizedEmail");
-
- b.HasIndex("NormalizedUserName");
-
- b.HasIndex("UserName");
-
- b.ToTable("AbpUsers");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("ClaimValue")
- .HasMaxLength(1024);
-
- b.Property("TenantId");
-
- b.Property("UserId");
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("AbpUserClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
- {
- b.Property("UserId");
-
- b.Property("LoginProvider")
- .HasMaxLength(64);
-
- b.Property("ProviderDisplayName")
- .HasMaxLength(128);
-
- b.Property("ProviderKey")
- .IsRequired()
- .HasMaxLength(196);
-
- b.Property("TenantId");
-
- b.HasKey("UserId", "LoginProvider");
-
- b.HasIndex("LoginProvider", "ProviderKey");
-
- b.ToTable("AbpUserLogins");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b =>
- {
- b.Property("UserId");
-
- b.Property("RoleId");
-
- b.Property("TenantId");
-
- b.HasKey("UserId", "RoleId");
-
- b.HasIndex("RoleId", "UserId");
-
- b.ToTable("AbpUserRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b =>
- {
- b.Property("UserId");
-
- b.Property("LoginProvider")
- .HasMaxLength(64);
-
- b.Property("Name")
- .HasMaxLength(128);
-
- b.Property("TenantId");
-
- b.Property("Value");
-
- b.HasKey("UserId", "LoginProvider", "Name");
-
- b.ToTable("AbpUserTokens");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResource", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnName("DeletionTime");
-
- b.Property("Description")
- .HasMaxLength(1000);
-
- b.Property("DisplayName")
- .HasMaxLength(200);
-
- b.Property("Enabled");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnName("IsDeleted")
- .HasDefaultValue(false);
-
- b.Property("LastModificationTime")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200);
-
- b.Property("Properties");
-
- b.HasKey("Id");
-
- b.ToTable("IdentityServerApiResources");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceClaim", b =>
- {
- b.Property("ApiResourceId");
-
- b.Property("Type")
- .HasMaxLength(196);
-
- b.HasKey("ApiResourceId", "Type");
-
- b.ToTable("IdentityServerApiClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiScope", b =>
- {
- b.Property("ApiResourceId");
-
- b.Property("Name")
- .HasMaxLength(196);
-
- b.Property("Description")
- .HasMaxLength(256);
-
- b.Property("DisplayName")
- .HasMaxLength(128);
-
- b.Property("Emphasize");
-
- b.Property("Required");
-
- b.Property("ShowInDiscoveryDocument");
-
- b.HasKey("ApiResourceId", "Name");
-
- b.ToTable("IdentityServerApiScopes");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiScopeClaim", b =>
- {
- b.Property("ApiResourceId");
-
- b.Property("Name")
- .HasMaxLength(196);
-
- b.Property("Type")
- .HasMaxLength(196);
-
- b.HasKey("ApiResourceId", "Name", "Type");
-
- b.ToTable("IdentityServerApiScopeClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiSecret", b =>
- {
- b.Property("ApiResourceId");
-
- b.Property("Type")
- .HasMaxLength(32);
-
- b.Property("Value")
- .HasMaxLength(196);
-
- b.Property("Description")
- .HasMaxLength(256);
-
- b.Property("Expiration");
-
- b.HasKey("ApiResourceId", "Type", "Value");
-
- b.ToTable("IdentityServerApiSecrets");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.Client", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AbsoluteRefreshTokenLifetime");
-
- b.Property("AccessTokenLifetime");
-
- b.Property("AccessTokenType");
-
- b.Property("AllowAccessTokensViaBrowser");
-
- b.Property("AllowOfflineAccess");
-
- b.Property("AllowPlainTextPkce");
-
- b.Property("AllowRememberConsent");
-
- b.Property("AlwaysIncludeUserClaimsInIdToken");
-
- b.Property("AlwaysSendClientClaims");
-
- b.Property("AuthorizationCodeLifetime");
-
- b.Property("BackChannelLogoutSessionRequired");
-
- b.Property("BackChannelLogoutUri")
- .HasMaxLength(300);
-
- b.Property("ClientClaimsPrefix")
- .HasMaxLength(200);
-
- b.Property("ClientId")
- .IsRequired()
- .HasMaxLength(200);
-
- b.Property("ClientName")
- .HasMaxLength(200);
-
- b.Property("ClientUri")
- .HasMaxLength(300);
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("ConsentLifetime");
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnName("DeletionTime");
-
- b.Property("Description")
- .HasMaxLength(1000);
-
- b.Property("DeviceCodeLifetime");
-
- b.Property("EnableLocalLogin");
-
- b.Property("Enabled");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("FrontChannelLogoutSessionRequired");
-
- b.Property("FrontChannelLogoutUri")
- .HasMaxLength(300);
-
- b.Property("IdentityTokenLifetime");
-
- b.Property("IncludeJwtId");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnName("IsDeleted")
- .HasDefaultValue(false);
-
- b.Property("LastModificationTime")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnName("LastModifierId");
-
- b.Property("LogoUri")
- .HasMaxLength(300);
-
- b.Property("PairWiseSubjectSalt")
- .HasMaxLength(200);
-
- b.Property("ProtocolType")
- .IsRequired()
- .HasMaxLength(200);
-
- b.Property("RefreshTokenExpiration");
-
- b.Property("RefreshTokenUsage");
-
- b.Property("RequireClientSecret");
-
- b.Property("RequireConsent");
-
- b.Property("RequirePkce");
-
- b.Property("SlidingRefreshTokenLifetime");
-
- b.Property("UpdateAccessTokenClaimsOnRefresh");
-
- b.Property("UserCodeType")
- .HasMaxLength(100);
-
- b.Property("UserSsoLifetime");
-
- b.HasKey("Id");
-
- b.HasIndex("ClientId");
-
- b.ToTable("IdentityServerClients");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientClaim", b =>
- {
- b.Property("ClientId");
-
- b.Property("Type")
- .HasMaxLength(250);
-
- b.Property("Value")
- .HasMaxLength(250);
-
- b.HasKey("ClientId", "Type", "Value");
-
- b.ToTable("IdentityServerClientClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientCorsOrigin", b =>
- {
- b.Property("ClientId");
-
- b.Property("Origin")
- .HasMaxLength(150);
-
- b.HasKey("ClientId", "Origin");
-
- b.ToTable("IdentityServerClientCorsOrigins");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientGrantType", b =>
- {
- b.Property("ClientId");
-
- b.Property("GrantType")
- .HasMaxLength(196);
-
- b.HasKey("ClientId", "GrantType");
-
- b.ToTable("IdentityServerClientGrantTypes");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientIdPRestriction", b =>
- {
- b.Property("ClientId");
-
- b.Property("Provider")
- .HasMaxLength(64);
-
- b.HasKey("ClientId", "Provider");
-
- b.ToTable("IdentityServerClientIdPRestrictions");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientPostLogoutRedirectUri", b =>
- {
- b.Property("ClientId");
-
- b.Property("PostLogoutRedirectUri")
- .HasMaxLength(200);
-
- b.HasKey("ClientId", "PostLogoutRedirectUri");
-
- b.ToTable("IdentityServerClientPostLogoutRedirectUris");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientProperty", b =>
- {
- b.Property("ClientId");
-
- b.Property("Key")
- .HasMaxLength(64);
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(128);
-
- b.HasKey("ClientId", "Key");
-
- b.ToTable("IdentityServerClientProperties");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientRedirectUri", b =>
- {
- b.Property("ClientId");
-
- b.Property("RedirectUri")
- .HasMaxLength(200);
-
- b.HasKey("ClientId", "RedirectUri");
-
- b.ToTable("IdentityServerClientRedirectUris");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientScope", b =>
- {
- b.Property("ClientId");
-
- b.Property("Scope")
- .HasMaxLength(196);
-
- b.HasKey("ClientId", "Scope");
-
- b.ToTable("IdentityServerClientScopes");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientSecret", b =>
- {
- b.Property("ClientId");
-
- b.Property("Type")
- .HasMaxLength(32);
-
- b.Property("Value")
- .HasMaxLength(196);
-
- b.Property("Description")
- .HasMaxLength(256);
-
- b.Property("Expiration");
-
- b.HasKey("ClientId", "Type", "Value");
-
- b.ToTable("IdentityServerClientSecrets");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Grants.PersistedGrant", b =>
- {
- b.Property("Key")
- .HasMaxLength(200);
-
- b.Property("ClientId")
- .IsRequired()
- .HasMaxLength(200);
-
- b.Property("ConcurrencyStamp");
-
- b.Property("CreationTime");
-
- b.Property("Data")
- .IsRequired();
-
- b.Property("Expiration");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("Id");
-
- b.Property("SubjectId")
- .HasMaxLength(200);
-
- b.Property("Type")
- .IsRequired()
- .HasMaxLength(50);
-
- b.HasKey("Key");
-
- b.HasIndex("SubjectId", "ClientId", "Type");
-
- b.ToTable("IdentityServerPersistedGrants");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.IdentityResources.IdentityClaim", b =>
- {
- b.Property("IdentityResourceId");
-
- b.Property("Type")
- .HasMaxLength(196);
-
- b.HasKey("IdentityResourceId", "Type");
-
- b.ToTable("IdentityServerIdentityClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.IdentityResources.IdentityResource", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnName("DeletionTime");
-
- b.Property("Description")
- .HasMaxLength(1000);
-
- b.Property("DisplayName")
- .HasMaxLength(200);
-
- b.Property("Emphasize");
-
- b.Property