docs: #306 adding CachedFirstCoupletIndex to GanjoorPoemSection
This commit is contained in:
parent
736b1463da
commit
1669726fff
4140
RMuseum/Migrations/20220425152655_SectionCoupletIndex.Designer.cs
generated
Normal file
4140
RMuseum/Migrations/20220425152655_SectionCoupletIndex.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
26
RMuseum/Migrations/20220425152655_SectionCoupletIndex.cs
Normal file
26
RMuseum/Migrations/20220425152655_SectionCoupletIndex.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
public partial class SectionCoupletIndex : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "CachedFirstCoupletIndex",
|
||||
table: "GanjoorPoemSections",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CachedFirstCoupletIndex",
|
||||
table: "GanjoorPoemSections");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1305,6 +1305,9 @@ namespace RMuseum.Migrations
|
||||
|
||||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||||
|
||||
b.Property<int>("CachedFirstCoupletIndex")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int?>("GanjoorMetreId")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
||||
@ -90,6 +90,11 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// </summary>
|
||||
public GanjoorPoemFormat? PoemFormat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// first couplet index
|
||||
/// </summary>
|
||||
public int CachedFirstCoupletIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// top 6 related sections
|
||||
/// </summary>
|
||||
|
||||
@ -7080,6 +7080,11 @@
|
||||
valid for whole poem sections
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoemSection.CachedFirstCoupletIndex">
|
||||
<summary>
|
||||
first couplet index
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoemSection.Top6RelatedSections">
|
||||
<summary>
|
||||
top 6 related sections
|
||||
|
||||
Loading…
Reference in New Issue
Block a user