#60 new fields
This commit is contained in:
parent
78f585883c
commit
b8a2312d9b
1779
RMuseum/Migrations/20210109160617_GanjoorPoemNewFields.Designer.cs
generated
Normal file
1779
RMuseum/Migrations/20210109160617_GanjoorPoemNewFields.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
50
RMuseum/Migrations/20210109160617_GanjoorPoemNewFields.cs
Normal file
50
RMuseum/Migrations/20210109160617_GanjoorPoemNewFields.cs
Normal file
@ -0,0 +1,50 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
public partial class GanjoorPoemNewFields : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "RhymeLetters",
|
||||
table: "GanjoorPoems",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "SourceName",
|
||||
table: "GanjoorPoems",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "SourceUrlSlug",
|
||||
table: "GanjoorPoems",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "VerseCount",
|
||||
table: "GanjoorMetres",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RhymeLetters",
|
||||
table: "GanjoorPoems");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SourceName",
|
||||
table: "GanjoorPoems");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SourceUrlSlug",
|
||||
table: "GanjoorPoems");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "VerseCount",
|
||||
table: "GanjoorMetres");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -386,6 +386,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("UrlSlug")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("VerseCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("GanjoorMetres");
|
||||
@ -478,6 +481,15 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("PlainText")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("RhymeLetters")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("SourceName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("SourceUrlSlug")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Title")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
|
||||
@ -33,5 +33,10 @@
|
||||
/// Description
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Total Verse Count
|
||||
/// </summary>
|
||||
public int VerseCount { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,5 +68,20 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// metre
|
||||
/// </summary>
|
||||
public virtual GanjoorMetre GanjoorMetre { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// rhyme letters
|
||||
/// </summary>
|
||||
public string RhymeLetters { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// source name
|
||||
/// </summary>
|
||||
public string SourceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// source url slug
|
||||
/// </summary>
|
||||
public string SourceUrlSlug { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -3405,6 +3405,11 @@
|
||||
Description
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorMetre.VerseCount">
|
||||
<summary>
|
||||
Total Verse Count
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Ganjoor.GanjoorPageType">
|
||||
<summary>
|
||||
Ganjoor Page Type
|
||||
@ -3620,6 +3625,21 @@
|
||||
metre
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoem.RhymeLetters">
|
||||
<summary>
|
||||
rhyme letters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoem.SourceName">
|
||||
<summary>
|
||||
source name
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoem.SourceUrlSlug">
|
||||
<summary>
|
||||
source url slug
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Ganjoor.GanjoorPoet">
|
||||
<summary>
|
||||
Ganjoor Poet
|
||||
|
||||
Loading…
Reference in New Issue
Block a user