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