|
|
|
@ -8,10 +8,12 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
|
|
|
using MyCompanyName.MyProjectName.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
|
|
|
|
#nullable disable |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(MyProjectNameDbContext))] |
|
|
|
[Migration("20210909052638_Initial")] |
|
|
|
[Migration("20211105125915_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder) |
|
|
|
@ -19,9 +21,10 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
#pragma warning disable 612, 618
|
|
|
|
modelBuilder |
|
|
|
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) |
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128) |
|
|
|
.HasAnnotation("ProductVersion", "5.0.9") |
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); |
|
|
|
.HasAnnotation("ProductVersion", "6.0.0-rc.2.21480.5") |
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128); |
|
|
|
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => |
|
|
|
{ |
|
|
|
@ -128,7 +131,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("TenantId", "UserId", "ExecutionTime"); |
|
|
|
|
|
|
|
b.ToTable("AbpAuditLogs"); |
|
|
|
b.ToTable("AbpAuditLogs", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => |
|
|
|
@ -178,7 +181,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("TenantId", "ServiceName", "MethodName", "ExecutionTime"); |
|
|
|
|
|
|
|
b.ToTable("AbpAuditLogActions"); |
|
|
|
b.ToTable("AbpAuditLogActions", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => |
|
|
|
@ -228,7 +231,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("TenantId", "EntityTypeFullName", "EntityId"); |
|
|
|
|
|
|
|
b.ToTable("AbpEntityChanges"); |
|
|
|
b.ToTable("AbpEntityChanges", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b => |
|
|
|
@ -270,7 +273,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("EntityChangeId"); |
|
|
|
|
|
|
|
b.ToTable("AbpEntityPropertyChanges"); |
|
|
|
b.ToTable("AbpEntityPropertyChanges", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.BackgroundJobs.BackgroundJobRecord", b => |
|
|
|
@ -328,7 +331,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("IsAbandoned", "NextTryTime"); |
|
|
|
|
|
|
|
b.ToTable("AbpBackgroundJobs"); |
|
|
|
b.ToTable("AbpBackgroundJobs", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureValue", b => |
|
|
|
@ -357,15 +360,16 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey"); |
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey") |
|
|
|
.IsUnique() |
|
|
|
.HasFilter("[ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL"); |
|
|
|
|
|
|
|
b.ToTable("AbpFeatureValues"); |
|
|
|
b.ToTable("AbpFeatureValues", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
@ -406,13 +410,12 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.ToTable("AbpClaimTypes"); |
|
|
|
b.ToTable("AbpClaimTypes", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<Guid?>("SourceTenantId") |
|
|
|
@ -433,13 +436,12 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.IsUnique() |
|
|
|
.HasFilter("[SourceTenantId] IS NOT NULL AND [TargetTenantId] IS NOT NULL"); |
|
|
|
|
|
|
|
b.ToTable("AbpLinkUsers"); |
|
|
|
b.ToTable("AbpLinkUsers", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
@ -482,7 +484,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("NormalizedName"); |
|
|
|
|
|
|
|
b.ToTable("AbpRoles"); |
|
|
|
b.ToTable("AbpRoles", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => |
|
|
|
@ -510,13 +512,12 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("RoleId"); |
|
|
|
|
|
|
|
b.ToTable("AbpRoleClaims"); |
|
|
|
b.ToTable("AbpRoleClaims", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("Action") |
|
|
|
@ -585,13 +586,12 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("TenantId", "UserId"); |
|
|
|
|
|
|
|
b.ToTable("AbpSecurityLogs"); |
|
|
|
b.ToTable("AbpSecurityLogs", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<int>("AccessFailedCount") |
|
|
|
@ -740,7 +740,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("UserName"); |
|
|
|
|
|
|
|
b.ToTable("AbpUsers"); |
|
|
|
b.ToTable("AbpUsers", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => |
|
|
|
@ -768,7 +768,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("UserId"); |
|
|
|
|
|
|
|
b.ToTable("AbpUserClaims"); |
|
|
|
b.ToTable("AbpUserClaims", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => |
|
|
|
@ -797,7 +797,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("LoginProvider", "ProviderKey"); |
|
|
|
|
|
|
|
b.ToTable("AbpUserLogins"); |
|
|
|
b.ToTable("AbpUserLogins", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => |
|
|
|
@ -824,7 +824,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("UserId", "OrganizationUnitId"); |
|
|
|
|
|
|
|
b.ToTable("AbpUserOrganizationUnits"); |
|
|
|
b.ToTable("AbpUserOrganizationUnits", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => |
|
|
|
@ -843,7 +843,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("RoleId", "UserId"); |
|
|
|
|
|
|
|
b.ToTable("AbpUserRoles"); |
|
|
|
b.ToTable("AbpUserRoles", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => |
|
|
|
@ -868,13 +868,12 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("UserId", "LoginProvider", "Name"); |
|
|
|
|
|
|
|
b.ToTable("AbpUserTokens"); |
|
|
|
b.ToTable("AbpUserTokens", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("Code") |
|
|
|
@ -942,7 +941,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("ParentId"); |
|
|
|
|
|
|
|
b.ToTable("AbpOrganizationUnits"); |
|
|
|
b.ToTable("AbpOrganizationUnits", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => |
|
|
|
@ -969,7 +968,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("RoleId", "OrganizationUnitId"); |
|
|
|
|
|
|
|
b.ToTable("AbpOrganizationUnitRoles"); |
|
|
|
b.ToTable("AbpOrganizationUnitRoles", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResource", b => |
|
|
|
@ -1043,7 +1042,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiResources"); |
|
|
|
b.ToTable("IdentityServerApiResources", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceClaim", b => |
|
|
|
@ -1057,7 +1056,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ApiResourceId", "Type"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiResourceClaims"); |
|
|
|
b.ToTable("IdentityServerApiResourceClaims", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceProperty", b => |
|
|
|
@ -1075,7 +1074,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ApiResourceId", "Key", "Value"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiResourceProperties"); |
|
|
|
b.ToTable("IdentityServerApiResourceProperties", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceScope", b => |
|
|
|
@ -1089,7 +1088,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ApiResourceId", "Scope"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiResourceScopes"); |
|
|
|
b.ToTable("IdentityServerApiResourceScopes", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceSecret", b => |
|
|
|
@ -1114,7 +1113,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ApiResourceId", "Type", "Value"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiResourceSecrets"); |
|
|
|
b.ToTable("IdentityServerApiResourceSecrets", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScope", b => |
|
|
|
@ -1190,7 +1189,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiScopes"); |
|
|
|
b.ToTable("IdentityServerApiScopes", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScopeClaim", b => |
|
|
|
@ -1204,7 +1203,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ApiScopeId", "Type"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiScopeClaims"); |
|
|
|
b.ToTable("IdentityServerApiScopeClaims", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScopeProperty", b => |
|
|
|
@ -1222,7 +1221,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ApiScopeId", "Key", "Value"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerApiScopeProperties"); |
|
|
|
b.ToTable("IdentityServerApiScopeProperties", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.Client", b => |
|
|
|
@ -1406,7 +1405,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("ClientId"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClients"); |
|
|
|
b.ToTable("IdentityServerClients", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientClaim", b => |
|
|
|
@ -1424,7 +1423,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "Type", "Value"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientClaims"); |
|
|
|
b.ToTable("IdentityServerClientClaims", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientCorsOrigin", b => |
|
|
|
@ -1438,7 +1437,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "Origin"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientCorsOrigins"); |
|
|
|
b.ToTable("IdentityServerClientCorsOrigins", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientGrantType", b => |
|
|
|
@ -1452,7 +1451,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "GrantType"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientGrantTypes"); |
|
|
|
b.ToTable("IdentityServerClientGrantTypes", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientIdPRestriction", b => |
|
|
|
@ -1466,7 +1465,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "Provider"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientIdPRestrictions"); |
|
|
|
b.ToTable("IdentityServerClientIdPRestrictions", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientPostLogoutRedirectUri", b => |
|
|
|
@ -1480,7 +1479,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "PostLogoutRedirectUri"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientPostLogoutRedirectUris"); |
|
|
|
b.ToTable("IdentityServerClientPostLogoutRedirectUris", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientProperty", b => |
|
|
|
@ -1498,7 +1497,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "Key", "Value"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientProperties"); |
|
|
|
b.ToTable("IdentityServerClientProperties", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientRedirectUri", b => |
|
|
|
@ -1512,7 +1511,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "RedirectUri"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientRedirectUris"); |
|
|
|
b.ToTable("IdentityServerClientRedirectUris", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientScope", b => |
|
|
|
@ -1526,7 +1525,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "Scope"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientScopes"); |
|
|
|
b.ToTable("IdentityServerClientScopes", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientSecret", b => |
|
|
|
@ -1551,7 +1550,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("ClientId", "Type", "Value"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerClientSecrets"); |
|
|
|
b.ToTable("IdentityServerClientSecrets", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Devices.DeviceFlowCodes", b => |
|
|
|
@ -1623,7 +1622,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("UserCode"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerDeviceFlowCodes"); |
|
|
|
b.ToTable("IdentityServerDeviceFlowCodes", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.Grants.PersistedGrant", b => |
|
|
|
@ -1689,7 +1688,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("SubjectId", "SessionId", "Type"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerPersistedGrants"); |
|
|
|
b.ToTable("IdentityServerPersistedGrants", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.IdentityResources.IdentityResource", b => |
|
|
|
@ -1765,7 +1764,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerIdentityResources"); |
|
|
|
b.ToTable("IdentityServerIdentityResources", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.IdentityResources.IdentityResourceClaim", b => |
|
|
|
@ -1779,7 +1778,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("IdentityResourceId", "Type"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerIdentityResourceClaims"); |
|
|
|
b.ToTable("IdentityServerIdentityResourceClaims", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.IdentityServer.IdentityResources.IdentityResourceProperty", b => |
|
|
|
@ -1797,7 +1796,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("IdentityResourceId", "Key", "Value"); |
|
|
|
|
|
|
|
b.ToTable("IdentityServerIdentityResourceProperties"); |
|
|
|
b.ToTable("IdentityServerIdentityResourceProperties", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGrant", b => |
|
|
|
@ -1827,9 +1826,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey"); |
|
|
|
b.HasIndex("TenantId", "Name", "ProviderName", "ProviderKey") |
|
|
|
.IsUnique() |
|
|
|
.HasFilter("[TenantId] IS NOT NULL"); |
|
|
|
|
|
|
|
b.ToTable("AbpPermissionGrants"); |
|
|
|
b.ToTable("AbpPermissionGrants", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.SettingManagement.Setting", b => |
|
|
|
@ -1858,15 +1859,16 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey"); |
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey") |
|
|
|
.IsUnique() |
|
|
|
.HasFilter("[ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL"); |
|
|
|
|
|
|
|
b.ToTable("AbpSettings"); |
|
|
|
b.ToTable("AbpSettings", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
@ -1918,7 +1920,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|
|
|
|
b.ToTable("AbpTenants"); |
|
|
|
b.ToTable("AbpTenants", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.TenantManagement.TenantConnectionString", b => |
|
|
|
@ -1937,7 +1939,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
|
|
|
|
b.HasKey("TenantId", "Name"); |
|
|
|
|
|
|
|
b.ToTable("AbpTenantConnectionStrings"); |
|
|
|
b.ToTable("AbpTenantConnectionStrings", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => |