diff --git a/modules/cms-kit/.abpstudio/state.json b/modules/cms-kit/.abpstudio/state.json
new file mode 100644
index 0000000000..b0ef88d2f2
--- /dev/null
+++ b/modules/cms-kit/.abpstudio/state.json
@@ -0,0 +1,11 @@
+{
+ "selectedKubernetesProfile": null,
+ "solutionRunner": {
+ "selectedProfile": null,
+ "targetFrameworks": [],
+ "applicationsStartingWithoutBuild": [],
+ "applicationsWithoutAutoRefreshBrowserOnRestart": [],
+ "applicationBatchStartStates": [],
+ "folderBatchStartStates": []
+ }
+}
\ No newline at end of file
diff --git a/modules/cms-kit/Volo.CmsKit.abpsln b/modules/cms-kit/Volo.CmsKit.abpsln
index 3448e82475..ede7cc2be4 100644
--- a/modules/cms-kit/Volo.CmsKit.abpsln
+++ b/modules/cms-kit/Volo.CmsKit.abpsln
@@ -3,5 +3,6 @@
"Volo.CmsKit": {
"path": "Volo.CmsKit.abpmdl"
}
- }
+ },
+ "id": "aa47056c-6303-419e-bd08-cfcf1dc93ca0"
}
\ No newline at end of file
diff --git a/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/20251024065316_Status_Field_Added_To_Pages.Designer.cs b/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/20251024065316_Status_Field_Added_To_Pages.Designer.cs
new file mode 100644
index 0000000000..d7e470083f
--- /dev/null
+++ b/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/20251024065316_Status_Field_Added_To_Pages.Designer.cs
@@ -0,0 +1,999 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using Volo.Abp.EntityFrameworkCore;
+using Volo.CmsKit.EntityFrameworkCore;
+
+#nullable disable
+
+namespace Volo.CmsKit.Migrations
+{
+ [DbContext(typeof(CmsKitHttpApiHostMigrationsDbContext))]
+ [Migration("20251024065316_Status_Field_Added_To_Pages")]
+ partial class Status_Field_Added_To_Pages
+ {
+ ///
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
+ .HasAnnotation("ProductVersion", "10.0.0-rc.2.25502.107")
+ .HasAnnotation("Relational:MaxIdentifierLength", 128);
+
+ SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
+
+ modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlob", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("ContainerId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Content")
+ .HasMaxLength(2147483647)
+ .HasColumnType("varbinary(max)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ContainerId");
+
+ b.HasIndex("TenantId", "ContainerId", "Name");
+
+ b.ToTable("AbpBlobs", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlobContainer", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "Name");
+
+ b.ToTable("AbpBlobContainers", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Blogs.Blog", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Slug")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.ToTable("CmsBlogs", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Blogs.BlogFeature", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("BlogId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("FeatureName")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("IsEnabled")
+ .HasColumnType("bit");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.HasKey("Id");
+
+ b.ToTable("CmsBlogFeatures", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Blogs.BlogPost", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("AuthorId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("BlogId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("Content")
+ .HasMaxLength(2147483647)
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("CoverImageMediaId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("ShortDescription")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Slug")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Status")
+ .HasColumnType("int");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Title")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("AuthorId");
+
+ b.HasIndex("Slug", "BlogId");
+
+ b.ToTable("CmsBlogPosts", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Comments.Comment", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("EntityId")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("EntityType")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IdempotencyToken")
+ .HasMaxLength(32)
+ .HasColumnType("nvarchar(32)");
+
+ b.Property("IsApproved")
+ .HasColumnType("bit");
+
+ b.Property("RepliedCommentId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Text")
+ .IsRequired()
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)");
+
+ b.Property("Url")
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "RepliedCommentId");
+
+ b.HasIndex("TenantId", "EntityType", "EntityId");
+
+ b.ToTable("CmsComments", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.GlobalResources.GlobalResource", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Value")
+ .IsRequired()
+ .HasMaxLength(2147483647)
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("Id");
+
+ b.ToTable("CmsGlobalResources", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.MarkedItems.UserMarkedItem", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("EntityId")
+ .IsRequired()
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("EntityType")
+ .IsRequired()
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "EntityType", "EntityId");
+
+ b.HasIndex("TenantId", "CreatorId", "EntityType", "EntityId");
+
+ b.ToTable("CmsUserMarkedItems", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.MediaDescriptors.MediaDescriptor", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("EntityType")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("MimeType")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(255)
+ .HasColumnType("nvarchar(255)");
+
+ b.Property("Size")
+ .HasMaxLength(2147483647)
+ .HasColumnType("bigint");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.ToTable("CmsMediaDescriptors", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Menus.MenuItem", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("CssClass")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("DisplayName")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ElementId")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Icon")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("IsActive")
+ .HasColumnType("bit");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Order")
+ .HasColumnType("int");
+
+ b.Property("PageId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ParentId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("RequiredPermissionName")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Target")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Url")
+ .IsRequired()
+ .HasMaxLength(1024)
+ .HasColumnType("nvarchar(1024)");
+
+ b.HasKey("Id");
+
+ b.ToTable("CmsMenuItems", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Pages.Page", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("Content")
+ .HasMaxLength(2147483647)
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("IsHomePage")
+ .HasColumnType("bit");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("LayoutName")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Script")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Slug")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Status")
+ .HasColumnType("int");
+
+ b.Property("Style")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Title")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "Slug");
+
+ b.ToTable("CmsPages", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Ratings.Rating", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("EntityId")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("EntityType")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("StarCount")
+ .HasColumnType("smallint");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "EntityType", "EntityId", "CreatorId");
+
+ b.ToTable("CmsRatings", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Reactions.UserReaction", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("EntityId")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("EntityType")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ReactionName")
+ .IsRequired()
+ .HasMaxLength(32)
+ .HasColumnType("nvarchar(32)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "EntityType", "EntityId", "ReactionName");
+
+ b.HasIndex("TenantId", "CreatorId", "EntityType", "EntityId", "ReactionName");
+
+ b.ToTable("CmsUserReactions", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Tags.EntityTag", b =>
+ {
+ b.Property("EntityId")
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("TagId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("EntityId", "TagId");
+
+ b.HasIndex("TenantId", "EntityId", "TagId");
+
+ b.ToTable("CmsEntityTags", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Tags.Tag", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("EntityType")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(32)
+ .HasColumnType("nvarchar(32)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "Name");
+
+ b.ToTable("CmsTags", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Users.CmsUser", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("Email")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("Email");
+
+ b.Property("EmailConfirmed")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("EmailConfirmed");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsActive")
+ .HasColumnType("bit")
+ .HasColumnName("IsActive");
+
+ b.Property("Name")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Name");
+
+ b.Property("PhoneNumber")
+ .HasMaxLength(16)
+ .HasColumnType("nvarchar(16)")
+ .HasColumnName("PhoneNumber");
+
+ b.Property("PhoneNumberConfirmed")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("PhoneNumberConfirmed");
+
+ b.Property("Surname")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Surname");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("UserName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("UserName");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "Email");
+
+ b.HasIndex("TenantId", "UserName");
+
+ b.ToTable("CmsUsers", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlob", b =>
+ {
+ b.HasOne("Volo.Abp.BlobStoring.Database.DatabaseBlobContainer", null)
+ .WithMany()
+ .HasForeignKey("ContainerId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+ });
+
+ modelBuilder.Entity("Volo.CmsKit.Blogs.BlogPost", b =>
+ {
+ b.HasOne("Volo.CmsKit.Users.CmsUser", "Author")
+ .WithMany()
+ .HasForeignKey("AuthorId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("Author");
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/20251024065316_Status_Field_Added_To_Pages.cs b/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/20251024065316_Status_Field_Added_To_Pages.cs
new file mode 100644
index 0000000000..059824f63a
--- /dev/null
+++ b/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/20251024065316_Status_Field_Added_To_Pages.cs
@@ -0,0 +1,632 @@
+using System;
+using Microsoft.EntityFrameworkCore.Migrations;
+
+#nullable disable
+
+namespace Volo.CmsKit.Migrations
+{
+ ///
+ public partial class Status_Field_Added_To_Pages : Migration
+ {
+ ///
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsUsers",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsUsers",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsTags",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsTags",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsPages",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsPages",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AddColumn(
+ name: "EntityVersion",
+ table: "CmsPages",
+ type: "int",
+ nullable: false,
+ defaultValue: 0);
+
+ migrationBuilder.AddColumn(
+ name: "IsHomePage",
+ table: "CmsPages",
+ type: "bit",
+ nullable: false,
+ defaultValue: false);
+
+ migrationBuilder.AddColumn(
+ name: "LayoutName",
+ table: "CmsPages",
+ type: "nvarchar(max)",
+ nullable: true);
+
+ migrationBuilder.AddColumn(
+ name: "Status",
+ table: "CmsPages",
+ type: "int",
+ nullable: false,
+ defaultValue: 1);
+
+ migrationBuilder.AlterColumn(
+ name: "Status",
+ table: "CmsPages",
+ type: "int",
+ nullable: false,
+ defaultValue: 0);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsMenuItems",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsMenuItems",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AddColumn(
+ name: "RequiredPermissionName",
+ table: "CmsMenuItems",
+ type: "nvarchar(128)",
+ maxLength: 128,
+ nullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsMediaDescriptors",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsMediaDescriptors",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsGlobalResources",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsGlobalResources",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsComments",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsComments",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AddColumn(
+ name: "IdempotencyToken",
+ table: "CmsComments",
+ type: "nvarchar(32)",
+ maxLength: 32,
+ nullable: true);
+
+ migrationBuilder.AddColumn(
+ name: "IsApproved",
+ table: "CmsComments",
+ type: "bit",
+ nullable: true);
+
+ migrationBuilder.AddColumn(
+ name: "Url",
+ table: "CmsComments",
+ type: "nvarchar(512)",
+ maxLength: 512,
+ nullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsBlogs",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsBlogs",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsBlogPosts",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsBlogPosts",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AddColumn(
+ name: "EntityVersion",
+ table: "CmsBlogPosts",
+ type: "int",
+ nullable: false,
+ defaultValue: 0);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsBlogFeatures",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsBlogFeatures",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "AbpBlobs",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "AbpBlobs",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "AbpBlobContainers",
+ type: "nvarchar(max)",
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)",
+ oldNullable: true);
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "AbpBlobContainers",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: false,
+ defaultValue: "",
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40,
+ oldNullable: true);
+
+ migrationBuilder.CreateTable(
+ name: "CmsUserMarkedItems",
+ columns: table => new
+ {
+ Id = table.Column(type: "uniqueidentifier", nullable: false),
+ TenantId = table.Column(type: "uniqueidentifier", nullable: true),
+ CreatorId = table.Column(type: "uniqueidentifier", nullable: false),
+ CreationTime = table.Column(type: "datetime2", nullable: false),
+ EntityId = table.Column(type: "nvarchar(450)", nullable: false),
+ EntityType = table.Column(type: "nvarchar(450)", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_CmsUserMarkedItems", x => x.Id);
+ });
+
+ migrationBuilder.CreateIndex(
+ name: "IX_CmsUserMarkedItems_TenantId_CreatorId_EntityType_EntityId",
+ table: "CmsUserMarkedItems",
+ columns: new[] { "TenantId", "CreatorId", "EntityType", "EntityId" });
+
+ migrationBuilder.CreateIndex(
+ name: "IX_CmsUserMarkedItems_TenantId_EntityType_EntityId",
+ table: "CmsUserMarkedItems",
+ columns: new[] { "TenantId", "EntityType", "EntityId" });
+ }
+
+ ///
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(
+ name: "CmsUserMarkedItems");
+
+ migrationBuilder.DropColumn(
+ name: "EntityVersion",
+ table: "CmsPages");
+
+ migrationBuilder.DropColumn(
+ name: "IsHomePage",
+ table: "CmsPages");
+
+ migrationBuilder.DropColumn(
+ name: "LayoutName",
+ table: "CmsPages");
+
+ migrationBuilder.DropColumn(
+ name: "Status",
+ table: "CmsPages");
+
+ migrationBuilder.DropColumn(
+ name: "RequiredPermissionName",
+ table: "CmsMenuItems");
+
+ migrationBuilder.DropColumn(
+ name: "IdempotencyToken",
+ table: "CmsComments");
+
+ migrationBuilder.DropColumn(
+ name: "IsApproved",
+ table: "CmsComments");
+
+ migrationBuilder.DropColumn(
+ name: "Url",
+ table: "CmsComments");
+
+ migrationBuilder.DropColumn(
+ name: "EntityVersion",
+ table: "CmsBlogPosts");
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsUsers",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsUsers",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsTags",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsTags",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsPages",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsPages",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsMenuItems",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsMenuItems",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsMediaDescriptors",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsMediaDescriptors",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsGlobalResources",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsGlobalResources",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsComments",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsComments",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsBlogs",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsBlogs",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsBlogPosts",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsBlogPosts",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "CmsBlogFeatures",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "CmsBlogFeatures",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "AbpBlobs",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "AbpBlobs",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+
+ migrationBuilder.AlterColumn(
+ name: "ExtraProperties",
+ table: "AbpBlobContainers",
+ type: "nvarchar(max)",
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(max)");
+
+ migrationBuilder.AlterColumn(
+ name: "ConcurrencyStamp",
+ table: "AbpBlobContainers",
+ type: "nvarchar(40)",
+ maxLength: 40,
+ nullable: true,
+ oldClrType: typeof(string),
+ oldType: "nvarchar(40)",
+ oldMaxLength: 40);
+ }
+ }
+}
diff --git a/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/CmsKitHttpApiHostMigrationsDbContextModelSnapshot.cs b/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/CmsKitHttpApiHostMigrationsDbContextModelSnapshot.cs
index 13ddfd47b2..09c7b6f4c2 100644
--- a/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/CmsKitHttpApiHostMigrationsDbContextModelSnapshot.cs
+++ b/modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Migrations/CmsKitHttpApiHostMigrationsDbContextModelSnapshot.cs
@@ -19,10 +19,10 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("ProductVersion", "6.0.0")
+ .HasAnnotation("ProductVersion", "10.0.0-rc.2.25502.107")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
- SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
+ SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlob", b =>
{
@@ -32,6 +32,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -44,6 +45,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
.HasColumnType("varbinary(max)");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -73,11 +75,13 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -105,6 +109,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -126,6 +131,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -173,6 +179,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -194,6 +201,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
.HasColumnName("DeletionTime");
b.Property