From 55dc75383745022734c1dd686c16fd83eeee4c9b Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 20 Feb 2026 11:19:54 +0800 Subject: [PATCH] Update template projects migrations. --- ....cs => 20260220031639_Initial.Designer.cs} | 22 +++++++++++++------ ...2_Initial.cs => 20260220031639_Initial.cs} | 5 +++-- .../MyProjectNameDbContextModelSnapshot.cs | 20 ++++++++++++----- ....cs => 20260220031818_Initial.Designer.cs} | 22 +++++++++++++------ .../Migrations/20260220031818_Initial.cs} | 5 +++-- .../MyProjectNameDbContextModelSnapshot.cs | 20 ++++++++++++----- ....cs => 20260220031606_Initial.Designer.cs} | 22 +++++++++++++------ ...4_Initial.cs => 20260220031606_Initial.cs} | 5 +++-- .../MyProjectNameDbContextModelSnapshot.cs | 20 ++++++++++++----- ....cs => 20260220031620_Initial.Designer.cs} | 22 +++++++++++++------ ...4_Initial.cs => 20260220031620_Initial.cs} | 5 +++-- .../MyProjectNameDbContextModelSnapshot.cs | 20 ++++++++++++----- ....cs => 20260220031648_Initial.Designer.cs} | 22 +++++++++++++------ ...0_Initial.cs => 20260220031648_Initial.cs} | 5 +++-- .../MyProjectNameDbContextModelSnapshot.cs | 20 ++++++++++++----- ....cs => 20260220031716_Initial.Designer.cs} | 22 +++++++++++++------ .../Migrations/20260220031716_Initial.cs} | 5 +++-- .../AuthServerDbContextModelSnapshot.cs | 20 ++++++++++++----- ....cs => 20260220031703_Initial.Designer.cs} | 22 +++++++++++++------ ...8_Initial.cs => 20260220031703_Initial.cs} | 5 +++-- .../UnifiedDbContextModelSnapshot.cs | 20 ++++++++++++----- ....cs => 20260220031726_Initial.Designer.cs} | 4 ++-- ...3_Initial.cs => 20260220031726_Initial.cs} | 0 ...ApiHostMigrationsDbContextModelSnapshot.cs | 2 +- ....cs => 20260220031740_Initial.Designer.cs} | 22 +++++++++++++------ ...5_Initial.cs => 20260220031740_Initial.cs} | 5 +++-- .../UnifiedDbContextModelSnapshot.cs | 20 ++++++++++++----- 27 files changed, 259 insertions(+), 123 deletions(-) rename templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/{20251218020112_Initial.Designer.cs => 20260220031639_Initial.Designer.cs} (99%) rename templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/{20251218020112_Initial.cs => 20260220031639_Initial.cs} (99%) rename templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/{20251218020330_Initial.Designer.cs => 20260220031818_Initial.Designer.cs} (99%) rename templates/{module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.cs => app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.cs} (99%) rename templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/{20251218020004_Initial.Designer.cs => 20260220031606_Initial.Designer.cs} (99%) rename templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/{20251218020004_Initial.cs => 20260220031606_Initial.cs} (99%) rename templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/{20251218020034_Initial.Designer.cs => 20260220031620_Initial.Designer.cs} (99%) rename templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/{20251218020034_Initial.cs => 20260220031620_Initial.cs} (99%) rename templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/{20251218020130_Initial.Designer.cs => 20260220031648_Initial.Designer.cs} (99%) rename templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/{20251218020130_Initial.cs => 20260220031648_Initial.cs} (99%) rename templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/{20251218020219_Initial.Designer.cs => 20260220031716_Initial.Designer.cs} (99%) rename templates/{app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.cs => module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.cs} (99%) rename templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/{20251218020158_Initial.Designer.cs => 20260220031703_Initial.Designer.cs} (98%) rename templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/{20251218020158_Initial.cs => 20260220031703_Initial.cs} (99%) rename templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/{20251218020233_Initial.Designer.cs => 20260220031726_Initial.Designer.cs} (90%) rename templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/{20251218020233_Initial.cs => 20260220031726_Initial.cs} (100%) rename templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/{20251218020255_Initial.Designer.cs => 20260220031740_Initial.Designer.cs} (98%) rename templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/{20251218020255_Initial.cs => 20260220031740_Initial.cs} (99%) diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20251218020112_Initial.Designer.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20260220031639_Initial.Designer.cs similarity index 99% rename from templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20251218020112_Initial.Designer.cs rename to templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20260220031639_Initial.Designer.cs index decbedad69..554f41ad8d 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20251218020112_Initial.Designer.cs +++ b/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 { [DbContext(typeof(MyProjectNameDbContext))] - [Migration("20251218020112_Initial")] + [Migration("20260220031639_Initial")] partial class Initial { /// @@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20251218020112_Initial.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20260220031639_Initial.cs similarity index 99% rename from templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20251218020112_Initial.cs rename to templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20260220031639_Initial.cs index 15dc0c422b..988a13d4ac 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20251218020112_Initial.cs +++ b/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(type: "int", nullable: false), LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column(type: "datetimeoffset", nullable: true), + Leaved = table.Column(type: "bit", nullable: false, defaultValue: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false), ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), @@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations ChangeType = table.Column(type: "tinyint", nullable: false), EntityTenantId = table.Column(type: "uniqueidentifier", nullable: true), EntityId = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - EntityTypeFullName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => @@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations NewValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), PropertyName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PropertyTypeFullName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false) + PropertyTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false) }, constraints: table => { diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/MyProjectNameDbContextModelSnapshot.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/MyProjectNameDbContextModelSnapshot.cs index d6e1ddae45..8b0c3e8283 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/MyProjectNameDbContextModelSnapshot.cs +++ b/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 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.Designer.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.Designer.cs similarity index 99% rename from templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.Designer.cs rename to templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.Designer.cs index 90e5f9a3cd..c2d561bb49 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.Designer.cs +++ b/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 { [DbContext(typeof(MyProjectNameDbContext))] - [Migration("20251218020330_Initial")] + [Migration("20260220031818_Initial")] partial class Initial { /// @@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.cs similarity index 99% rename from templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.cs rename to templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20260220031818_Initial.cs index 3ba2c09d6f..7fee3f7ed3 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.cs +++ b/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(type: "int", nullable: false), LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column(type: "datetimeoffset", nullable: true), + Leaved = table.Column(type: "bit", nullable: false, defaultValue: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false), ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), @@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Migrations ChangeType = table.Column(type: "tinyint", nullable: false), EntityTenantId = table.Column(type: "uniqueidentifier", nullable: true), EntityId = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - EntityTypeFullName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => @@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Migrations NewValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), PropertyName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PropertyTypeFullName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false) + PropertyTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false) }, constraints: table => { diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/MyProjectNameDbContextModelSnapshot.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/MyProjectNameDbContextModelSnapshot.cs index 71ca921e11..57dfdd39c9 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/MyProjectNameDbContextModelSnapshot.cs +++ b/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 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20251218020004_Initial.Designer.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.Designer.cs similarity index 99% rename from templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20251218020004_Initial.Designer.cs rename to templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.Designer.cs index 80872149d8..2ae5a14edb 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20251218020004_Initial.Designer.cs +++ b/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 { [DbContext(typeof(MyProjectNameDbContext))] - [Migration("20251218020004_Initial")] + [Migration("20260220031606_Initial")] partial class Initial { /// @@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Host.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Host.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20251218020004_Initial.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.cs similarity index 99% rename from templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20251218020004_Initial.cs rename to templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.cs index 251be66c16..9326e06416 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20251218020004_Initial.cs +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20260220031606_Initial.cs @@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations EntityVersion = table.Column(type: "int", nullable: false), LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column(type: "datetimeoffset", nullable: true), + Leaved = table.Column(type: "bit", nullable: false, defaultValue: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false), ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), @@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations ChangeType = table.Column(type: "tinyint", nullable: false), EntityTenantId = table.Column(type: "uniqueidentifier", nullable: true), EntityId = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - EntityTypeFullName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => @@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations NewValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), PropertyName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PropertyTypeFullName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false) + PropertyTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false) }, constraints: table => { diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/MyProjectNameDbContextModelSnapshot.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/MyProjectNameDbContextModelSnapshot.cs index a5ee954dd9..27ab97b42c 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/MyProjectNameDbContextModelSnapshot.cs +++ b/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 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Host.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Host.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20251218020034_Initial.Designer.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.Designer.cs similarity index 99% rename from templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20251218020034_Initial.Designer.cs rename to templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.Designer.cs index 347bf5c1cc..28b3d8773d 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20251218020034_Initial.Designer.cs +++ b/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 { [DbContext(typeof(MyProjectNameDbContext))] - [Migration("20251218020034_Initial")] + [Migration("20260220031620_Initial")] partial class Initial { /// @@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20251218020034_Initial.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.cs similarity index 99% rename from templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20251218020034_Initial.cs rename to templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.cs index 0c0880730b..4e77a9eeb5 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20251218020034_Initial.cs +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20260220031620_Initial.cs @@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations EntityVersion = table.Column(type: "int", nullable: false), LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column(type: "datetimeoffset", nullable: true), + Leaved = table.Column(type: "bit", nullable: false, defaultValue: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false), ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), @@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations ChangeType = table.Column(type: "tinyint", nullable: false), EntityTenantId = table.Column(type: "uniqueidentifier", nullable: true), EntityId = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - EntityTypeFullName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => @@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations NewValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), PropertyName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PropertyTypeFullName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false) + PropertyTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false) }, constraints: table => { diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/MyProjectNameDbContextModelSnapshot.cs b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/MyProjectNameDbContextModelSnapshot.cs index 72bea3e6f5..862ce0c0a0 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/MyProjectNameDbContextModelSnapshot.cs +++ b/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 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20251218020130_Initial.Designer.cs b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.Designer.cs similarity index 99% rename from templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20251218020130_Initial.Designer.cs rename to templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.Designer.cs index 00548f561d..f2a7614b78 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20251218020130_Initial.Designer.cs +++ b/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 { [DbContext(typeof(MyProjectNameDbContext))] - [Migration("20251218020130_Initial")] + [Migration("20260220031648_Initial")] partial class Initial { /// @@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -882,6 +882,12 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -2011,7 +2017,9 @@ namespace MyCompanyName.MyProjectName.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20251218020130_Initial.cs b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.cs similarity index 99% rename from templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20251218020130_Initial.cs rename to templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.cs index 2bbe785a0d..2f9cb6cae0 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20251218020130_Initial.cs +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20260220031648_Initial.cs @@ -435,6 +435,7 @@ namespace MyCompanyName.MyProjectName.Migrations EntityVersion = table.Column(type: "int", nullable: false), LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column(type: "datetimeoffset", nullable: true), + Leaved = table.Column(type: "bit", nullable: false, defaultValue: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false), ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), @@ -550,7 +551,7 @@ namespace MyCompanyName.MyProjectName.Migrations ChangeType = table.Column(type: "tinyint", nullable: false), EntityTenantId = table.Column(type: "uniqueidentifier", nullable: true), EntityId = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - EntityTypeFullName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => @@ -821,7 +822,7 @@ namespace MyCompanyName.MyProjectName.Migrations NewValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), PropertyName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PropertyTypeFullName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false) + PropertyTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false) }, constraints: table => { diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs index 3c2f984477..f0ebb0911a 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs @@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -879,6 +879,12 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -2008,7 +2014,9 @@ namespace MyCompanyName.MyProjectName.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.Designer.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.Designer.cs similarity index 99% rename from templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.Designer.cs rename to templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.Designer.cs index cc4aacd2c8..864bfb7450 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20251218020219_Initial.Designer.cs +++ b/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 { [DbContext(typeof(AuthServerDbContext))] - [Migration("20251218020219_Initial")] + [Migration("20260220031716_Initial")] partial class Initial { /// @@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1956,7 +1962,9 @@ namespace MyCompanyName.MyProjectName.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.cs similarity index 99% rename from templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.cs rename to templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.cs index 3ba2c09d6f..7fee3f7ed3 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20251218020330_Initial.cs +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20260220031716_Initial.cs @@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Migrations EntityVersion = table.Column(type: "int", nullable: false), LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column(type: "datetimeoffset", nullable: true), + Leaved = table.Column(type: "bit", nullable: false, defaultValue: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false), ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), @@ -528,7 +529,7 @@ namespace MyCompanyName.MyProjectName.Migrations ChangeType = table.Column(type: "tinyint", nullable: false), EntityTenantId = table.Column(type: "uniqueidentifier", nullable: true), EntityId = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - EntityTypeFullName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => @@ -799,7 +800,7 @@ namespace MyCompanyName.MyProjectName.Migrations NewValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), PropertyName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PropertyTypeFullName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false) + PropertyTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false) }, constraints: table => { diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs index b610d4ea04..40a4ebc5b3 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs @@ -19,7 +19,7 @@ namespace MyCompanyName.MyProjectName.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1953,7 +1959,9 @@ namespace MyCompanyName.MyProjectName.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20251218020158_Initial.Designer.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20260220031703_Initial.Designer.cs similarity index 98% rename from templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20251218020158_Initial.Designer.cs rename to templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20260220031703_Initial.Designer.cs index 5342dd5e01..aefd408dc0 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20251218020158_Initial.Designer.cs +++ b/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 { [DbContext(typeof(UnifiedDbContext))] - [Migration("20251218020158_Initial")] + [Migration("20260220031703_Initial")] partial class Initial { /// @@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1654,7 +1660,9 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20251218020158_Initial.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20260220031703_Initial.cs similarity index 99% rename from templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20251218020158_Initial.cs rename to templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20260220031703_Initial.cs index af720e3248..b8b72ab4f0 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20251218020158_Initial.cs +++ b/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(type: "int", nullable: false), LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column(type: "datetimeoffset", nullable: true), + Leaved = table.Column(type: "bit", nullable: false, defaultValue: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false), ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), @@ -464,7 +465,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations ChangeType = table.Column(type: "tinyint", nullable: false), EntityTenantId = table.Column(type: "uniqueidentifier", nullable: true), EntityId = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - EntityTypeFullName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => @@ -710,7 +711,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations NewValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), PropertyName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PropertyTypeFullName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false) + PropertyTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false) }, constraints: table => { diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/UnifiedDbContextModelSnapshot.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/UnifiedDbContextModelSnapshot.cs index 5fa6595a41..087f274690 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/UnifiedDbContextModelSnapshot.cs +++ b/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 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1651,7 +1657,9 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20251218020233_Initial.Designer.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20260220031726_Initial.Designer.cs similarity index 90% rename from templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20251218020233_Initial.Designer.cs rename to templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20260220031726_Initial.Designer.cs index c3af00901a..3f6731e6ad 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20251218020233_Initial.Designer.cs +++ b/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 { [DbContext(typeof(MyProjectNameHttpApiHostMigrationsDbContext))] - [Migration("20251218020233_Initial")] + [Migration("20260220031726_Initial")] partial class Initial { /// @@ -21,7 +21,7 @@ namespace MyCompanyName.MyProjectName.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20251218020233_Initial.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20260220031726_Initial.cs similarity index 100% rename from templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20251218020233_Initial.cs rename to templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/20260220031726_Initial.cs diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/MyProjectNameHttpApiHostMigrationsDbContextModelSnapshot.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/MyProjectNameHttpApiHostMigrationsDbContextModelSnapshot.cs index b55edb912d..21be45d2bd 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/Migrations/MyProjectNameHttpApiHostMigrationsDbContextModelSnapshot.cs +++ b/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 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20251218020255_Initial.Designer.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.Designer.cs similarity index 98% rename from templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20251218020255_Initial.Designer.cs rename to templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.Designer.cs index 33e5dc220e..40fca2a154 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20251218020255_Initial.Designer.cs +++ b/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 { [DbContext(typeof(UnifiedDbContext))] - [Migration("20251218020255_Initial")] + [Migration("20260220031740_Initial")] partial class Initial { /// @@ -22,7 +22,7 @@ namespace MyCompanyName.MyProjectName.Migrations #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -255,8 +255,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -303,8 +303,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -824,6 +824,12 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1654,7 +1660,9 @@ namespace MyCompanyName.MyProjectName.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId"); diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20251218020255_Initial.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.cs similarity index 99% rename from templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20251218020255_Initial.cs rename to templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.cs index 08fc513bcb..11a4fa05d9 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20251218020255_Initial.cs +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20260220031740_Initial.cs @@ -413,6 +413,7 @@ namespace MyCompanyName.MyProjectName.Migrations EntityVersion = table.Column(type: "int", nullable: false), LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true), LastSignInTime = table.Column(type: "datetimeoffset", nullable: true), + Leaved = table.Column(type: "bit", nullable: false, defaultValue: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false), ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), @@ -464,7 +465,7 @@ namespace MyCompanyName.MyProjectName.Migrations ChangeType = table.Column(type: "tinyint", nullable: false), EntityTenantId = table.Column(type: "uniqueidentifier", nullable: true), EntityId = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - EntityTypeFullName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false), ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => @@ -710,7 +711,7 @@ namespace MyCompanyName.MyProjectName.Migrations NewValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), OriginalValue = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), PropertyName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PropertyTypeFullName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false) + PropertyTypeFullName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: false) }, constraints: table => { diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs index 6e6fce7596..c7fb303ca0 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs +++ b/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 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) - .HasAnnotation("ProductVersion", "10.0.0") + .HasAnnotation("ProductVersion", "10.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -252,8 +252,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("EntityTypeFullName") .IsRequired() - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("EntityTypeFullName"); b.Property("ExtraProperties") @@ -300,8 +300,8 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("PropertyTypeFullName") .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") .HasColumnName("PropertyTypeFullName"); b.Property("TenantId") @@ -821,6 +821,12 @@ namespace MyCompanyName.MyProjectName.Migrations b.Property("LastSignInTime") .HasColumnType("datetimeoffset"); + b.Property("Leaved") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("Leaved"); + b.Property("LockoutEnabled") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -1651,7 +1657,9 @@ namespace MyCompanyName.MyProjectName.Migrations b1.ToTable("AbpUserPasskeys"); - b1.ToJson("Data"); + b1 + .ToJson("Data") + .HasColumnType("nvarchar(max)"); b1.WithOwner() .HasForeignKey("IdentityUserPasskeyCredentialId");