|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(UnifiedDbContext))] |
|
|
|
[Migration("20251018030355_Initial")] |
|
|
|
[Migration("20251020063536_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1017,6 +1017,27 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations |
|
|
|
b.ToTable("AbpUserOrganizationUnits", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserPasswordHistory", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("UserId") |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("Password") |
|
|
|
.HasMaxLength(256) |
|
|
|
.HasColumnType("nvarchar(256)"); |
|
|
|
|
|
|
|
b.Property<DateTimeOffset>("CreatedAt") |
|
|
|
.HasColumnType("datetimeoffset"); |
|
|
|
|
|
|
|
b.Property<Guid?>("TenantId") |
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
.HasColumnName("TenantId"); |
|
|
|
|
|
|
|
b.HasKey("UserId", "Password"); |
|
|
|
|
|
|
|
b.ToTable("AbpUserPasswordHistories", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("UserId") |
|
|
|
@ -1522,6 +1543,15 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations |
|
|
|
.IsRequired(); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserPasswordHistory", b => |
|
|
|
{ |
|
|
|
b.HasOne("Volo.Abp.Identity.IdentityUser", null) |
|
|
|
.WithMany("PasswordHistories") |
|
|
|
.HasForeignKey("UserId") |
|
|
|
.OnDelete(DeleteBehavior.Cascade) |
|
|
|
.IsRequired(); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => |
|
|
|
{ |
|
|
|
b.HasOne("Volo.Abp.Identity.IdentityRole", null) |
|
|
|
@ -1602,6 +1632,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations |
|
|
|
|
|
|
|
b.Navigation("OrganizationUnits"); |
|
|
|
|
|
|
|
b.Navigation("PasswordHistories"); |
|
|
|
|
|
|
|
b.Navigation("Roles"); |
|
|
|
|
|
|
|
b.Navigation("Tokens"); |