Browse Source

Update template projects migrations.

pull/24902/head
maliming 8 months ago
parent
commit
55dc753837
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 22
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20260220031639_Initial.Designer.cs
  2. 5
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20260220031639_Initial.cs
  3. 20
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/MyProjectNameDbContextModelSnapshot.cs
  4. 22
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.Designer.cs
  5. 5
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.cs
  6. 20
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/MyProjectNameDbContextModelSnapshot.cs
  7. 22
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.Designer.cs
  8. 5
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.cs
  9. 20
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/MyProjectNameDbContextModelSnapshot.cs
  10. 22
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.Designer.cs
  11. 5
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.cs
  12. 20
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/MyProjectNameDbContextModelSnapshot.cs
  13. 22
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.Designer.cs
  14. 5
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.cs
  15. 20
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs
  16. 22
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.Designer.cs
  17. 5
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.cs
  18. 20
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs
  19. 22
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20260220031703_Initial.Designer.cs
  20. 5
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20260220031703_Initial.cs
  21. 20
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/UnifiedDbContextModelSnapshot.cs
  22. 4
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20260220031726_Initial.Designer.cs
  23. 0
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20260220031726_Initial.cs
  24. 2
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/MyProjectNameHttpApiHostMigrationsDbContextModelSnapshot.cs
  25. 22
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.Designer.cs
  26. 5
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.cs
  27. 20
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs

22
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20251218020112_Initial.Designer.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20260220031639_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
{ {
[DbContext(typeof(MyProjectNameDbContext))] [DbContext(typeof(MyProjectNameDbContext))]
[Migration("20251218020112_Initial")] [Migration("20260220031639_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

5
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20251218020112_Initial.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20260220031639_Initial.cs

@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
EntityVersion = table.Column<int>(type: "int", nullable: false), EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
Leaved = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
ChangeType = table.Column<byte>(type: "tinyint", nullable: false), ChangeType = table.Column<byte>(type: "tinyint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
EntityTypeFullName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), EntityTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true)
}, },
constraints: table => constraints: table =>
@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
PropertyTypeFullName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false) PropertyTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false)
}, },
constraints: table => constraints: table =>
{ {

20
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

22
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.Designer.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations namespace MyCompanyName.MyProjectName.Migrations
{ {
[DbContext(typeof(MyProjectNameDbContext))] [DbContext(typeof(MyProjectNameDbContext))]
[Migration("20251218020330_Initial")] [Migration("20260220031818_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

5
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.cs

@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Migrations
EntityVersion = table.Column<int>(type: "int", nullable: false), EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
Leaved = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Migrations
ChangeType = table.Column<byte>(type: "tinyint", nullable: false), ChangeType = table.Column<byte>(type: "tinyint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
EntityTypeFullName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), EntityTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true)
}, },
constraints: table => constraints: table =>
@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Migrations
NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
PropertyTypeFullName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false) PropertyTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false)
}, },
constraints: table => constraints: table =>
{ {

20
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

22
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20251218020004_Initial.Designer.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Host.Migrations namespace MyCompanyName.MyProjectName.Host.Migrations
{ {
[DbContext(typeof(MyProjectNameDbContext))] [DbContext(typeof(MyProjectNameDbContext))]
[Migration("20251218020004_Initial")] [Migration("20260220031606_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

5
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20251218020004_Initial.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.cs

@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
EntityVersion = table.Column<int>(type: "int", nullable: false), EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
Leaved = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
ChangeType = table.Column<byte>(type: "tinyint", nullable: false), ChangeType = table.Column<byte>(type: "tinyint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
EntityTypeFullName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), EntityTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true)
}, },
constraints: table => constraints: table =>
@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
PropertyTypeFullName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false) PropertyTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false)
}, },
constraints: table => constraints: table =>
{ {

20
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

22
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20251218020034_Initial.Designer.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Mvc.Migrations namespace MyCompanyName.MyProjectName.Mvc.Migrations
{ {
[DbContext(typeof(MyProjectNameDbContext))] [DbContext(typeof(MyProjectNameDbContext))]
[Migration("20251218020034_Initial")] [Migration("20260220031620_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

5
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20251218020034_Initial.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.cs

@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
EntityVersion = table.Column<int>(type: "int", nullable: false), EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
Leaved = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
ChangeType = table.Column<byte>(type: "tinyint", nullable: false), ChangeType = table.Column<byte>(type: "tinyint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
EntityTypeFullName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), EntityTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true)
}, },
constraints: table => constraints: table =>
@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
PropertyTypeFullName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false) PropertyTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false)
}, },
constraints: table => constraints: table =>
{ {

20
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

22
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20251218020130_Initial.Designer.cs → templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations namespace MyCompanyName.MyProjectName.Migrations
{ {
[DbContext(typeof(MyProjectNameDbContext))] [DbContext(typeof(MyProjectNameDbContext))]
[Migration("20251218020130_Initial")] [Migration("20260220031648_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -882,6 +882,12 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -2011,7 +2017,9 @@ namespace MyCompanyName.MyProjectName.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

5
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20251218020130_Initial.cs → templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.cs

@ -435,6 +435,7 @@ namespace MyCompanyName.MyProjectName.Migrations
EntityVersion = table.Column<int>(type: "int", nullable: false), EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
Leaved = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -550,7 +551,7 @@ namespace MyCompanyName.MyProjectName.Migrations
ChangeType = table.Column<byte>(type: "tinyint", nullable: false), ChangeType = table.Column<byte>(type: "tinyint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
EntityTypeFullName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), EntityTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true)
}, },
constraints: table => constraints: table =>
@ -821,7 +822,7 @@ namespace MyCompanyName.MyProjectName.Migrations
NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
PropertyTypeFullName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false) PropertyTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false)
}, },
constraints: table => constraints: table =>
{ {

20
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -879,6 +879,12 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -2008,7 +2014,9 @@ namespace MyCompanyName.MyProjectName.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

22
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.Designer.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations namespace MyCompanyName.MyProjectName.Migrations
{ {
[DbContext(typeof(AuthServerDbContext))] [DbContext(typeof(AuthServerDbContext))]
[Migration("20251218020219_Initial")] [Migration("20260220031716_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

5
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.cs

@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Migrations
EntityVersion = table.Column<int>(type: "int", nullable: false), EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
Leaved = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Migrations
ChangeType = table.Column<byte>(type: "tinyint", nullable: false), ChangeType = table.Column<byte>(type: "tinyint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
EntityTypeFullName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), EntityTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true)
}, },
constraints: table => constraints: table =>
@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Migrations
NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
PropertyTypeFullName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false) PropertyTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false)
}, },
constraints: table => constraints: table =>
{ {

20
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs

@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

22
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20251218020158_Initial.Designer.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20260220031703_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
{ {
[DbContext(typeof(UnifiedDbContext))] [DbContext(typeof(UnifiedDbContext))]
[Migration("20251218020158_Initial")] [Migration("20260220031703_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1654,7 +1660,9 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

5
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20251218020158_Initial.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20260220031703_Initial.cs

@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
EntityVersion = table.Column<int>(type: "int", nullable: false), EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
Leaved = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -464,7 +465,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
ChangeType = table.Column<byte>(type: "tinyint", nullable: false), ChangeType = table.Column<byte>(type: "tinyint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
EntityTypeFullName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), EntityTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true)
}, },
constraints: table => constraints: table =>
@ -710,7 +711,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
PropertyTypeFullName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false) PropertyTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false)
}, },
constraints: table => constraints: table =>
{ {

20
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/UnifiedDbContextModelSnapshot.cs

@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1651,7 +1657,9 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

4
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20251218020233_Initial.Designer.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20260220031726_Initial.Designer.cs

@ -12,7 +12,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations namespace MyCompanyName.MyProjectName.Migrations
{ {
[DbContext(typeof(MyProjectNameHttpApiHostMigrationsDbContext))] [DbContext(typeof(MyProjectNameHttpApiHostMigrationsDbContext))]
[Migration("20251218020233_Initial")] [Migration("20260220031726_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -21,7 +21,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);

0
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20251218020233_Initial.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20260220031726_Initial.cs

2
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/MyProjectNameHttpApiHostMigrationsDbContextModelSnapshot.cs

@ -18,7 +18,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);

22
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20251218020255_Initial.Designer.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations namespace MyCompanyName.MyProjectName.Migrations
{ {
[DbContext(typeof(UnifiedDbContext))] [DbContext(typeof(UnifiedDbContext))]
[Migration("20251218020255_Initial")] [Migration("20260220031740_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1654,7 +1660,9 @@ namespace MyCompanyName.MyProjectName.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

5
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20251218020255_Initial.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.cs

@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Migrations
EntityVersion = table.Column<int>(type: "int", nullable: false), EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
Leaved = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -464,7 +465,7 @@ namespace MyCompanyName.MyProjectName.Migrations
ChangeType = table.Column<byte>(type: "tinyint", nullable: false), ChangeType = table.Column<byte>(type: "tinyint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EntityTenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), EntityId = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
EntityTypeFullName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), EntityTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true) ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true)
}, },
constraints: table => constraints: table =>
@ -710,7 +711,7 @@ namespace MyCompanyName.MyProjectName.Migrations
NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), NewValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false), PropertyName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
PropertyTypeFullName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false) PropertyTypeFullName = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false)
}, },
constraints: table => constraints: table =>
{ {

20
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs

@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Migrations
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("ProductVersion", "10.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 128); .HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("EntityTypeFullName") b.Property<string>("EntityTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(128) .HasMaxLength(512)
.HasColumnType("nvarchar(128)") .HasColumnType("nvarchar(512)")
.HasColumnName("EntityTypeFullName"); .HasColumnName("EntityTypeFullName");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<string>("PropertyTypeFullName") b.Property<string>("PropertyTypeFullName")
.IsRequired() .IsRequired()
.HasMaxLength(64) .HasMaxLength(512)
.HasColumnType("nvarchar(64)") .HasColumnType("nvarchar(512)")
.HasColumnName("PropertyTypeFullName"); .HasColumnName("PropertyTypeFullName");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Migrations
b.Property<DateTimeOffset?>("LastSignInTime") b.Property<DateTimeOffset?>("LastSignInTime")
.HasColumnType("datetimeoffset"); .HasColumnType("datetimeoffset");
b.Property<bool>("Leaved")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false)
.HasColumnName("Leaved");
b.Property<bool>("LockoutEnabled") b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -1651,7 +1657,9 @@ namespace MyCompanyName.MyProjectName.Migrations
b1.ToTable("AbpUserPasskeys"); b1.ToTable("AbpUserPasskeys");
b1.ToJson("Data"); b1
.ToJson("Data")
.HasColumnType("nvarchar(max)");
b1.WithOwner() b1.WithOwner()
.HasForeignKey("IdentityUserPasskeyCredentialId"); .HasForeignKey("IdentityUserPasskeyCredentialId");

Loading…
Cancel
Save