stats for poems couplet counts in categories

#464
This commit is contained in:
Hamid Reza Mohammadi 2025-01-28 13:34:28 +03:30
parent ea89232e1d
commit 9fc89db467
3 changed files with 5999 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace RMuseum.Migrations
{
/// <inheritdoc />
public partial class SectionCoupletCount : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "CoupletsCount",
table: "GanjoorPoemSections",
type: "int",
nullable: false,
defaultValue: 0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CoupletsCount",
table: "GanjoorPoemSections");
}
}
}

View File

@ -1533,6 +1533,9 @@ namespace RMuseum.Migrations
b.Property<int>("CachedFirstCoupletIndex")
.HasColumnType("int");
b.Property<int>("CoupletsCount")
.HasColumnType("int");
b.Property<int?>("GanjoorMetreId")
.HasColumnType("int");