|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace OpenIddict.Demo.Server.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(ServerDbContext))] |
|
|
|
[Migration("20240829013142_Initial")] |
|
|
|
[Migration("20241016024422_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -22,7 +22,7 @@ namespace OpenIddict.Demo.Server.Migrations |
|
|
|
#pragma warning disable 612, 618
|
|
|
|
modelBuilder |
|
|
|
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) |
|
|
|
.HasAnnotation("ProductVersion", "8.0.4") |
|
|
|
.HasAnnotation("ProductVersion", "9.0.0-rc.2.24474.1") |
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128); |
|
|
|
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); |
|
|
|
@ -403,9 +403,13 @@ namespace OpenIddict.Demo.Server.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
|
.HasColumnType("nvarchar(max)") |
|
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
b.Property<string>("IpAddresses") |
|
|
|
.HasMaxLength(256) |
|
|
|
.HasColumnType("nvarchar(256)"); |
|
|
|
.HasMaxLength(2048) |
|
|
|
.HasColumnType("nvarchar(2048)"); |
|
|
|
|
|
|
|
b.Property<DateTime?>("LastAccessed") |
|
|
|
.HasColumnType("datetime2"); |
|
|
|
@ -1541,18 +1545,21 @@ namespace OpenIddict.Demo.Server.Migrations |
|
|
|
{ |
|
|
|
b.HasOne("Volo.Abp.OpenIddict.Applications.OpenIddictApplication", null) |
|
|
|
.WithMany() |
|
|
|
.HasForeignKey("ApplicationId"); |
|
|
|
.HasForeignKey("ApplicationId") |
|
|
|
.OnDelete(DeleteBehavior.Cascade); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.OpenIddict.Tokens.OpenIddictToken", b => |
|
|
|
{ |
|
|
|
b.HasOne("Volo.Abp.OpenIddict.Applications.OpenIddictApplication", null) |
|
|
|
.WithMany() |
|
|
|
.HasForeignKey("ApplicationId"); |
|
|
|
.HasForeignKey("ApplicationId") |
|
|
|
.OnDelete(DeleteBehavior.Cascade); |
|
|
|
|
|
|
|
b.HasOne("Volo.Abp.OpenIddict.Authorizations.OpenIddictAuthorization", null) |
|
|
|
.WithMany() |
|
|
|
.HasForeignKey("AuthorizationId"); |
|
|
|
.HasForeignKey("AuthorizationId") |
|
|
|
.OnDelete(DeleteBehavior.Cascade); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.TenantManagement.TenantConnectionString", b => |