#208 adding CoupletIndex to GanjoorUserBookmark model
This commit is contained in:
parent
d5129f4884
commit
283954fbdb
@ -10,7 +10,7 @@ using RMuseum.DbContext;
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
[DbContext(typeof(RMuseumDbContext))]
|
||||
[Migration("20210927065456_GanjoorUserBookmarks")]
|
||||
[Migration("20210927125827_GanjoorUserBookmarks")]
|
||||
partial class GanjoorUserBookmarks
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
@ -986,6 +986,9 @@ namespace RMuseum.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("CoupletIndex")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<DateTime>("DateTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
@ -14,6 +14,7 @@ namespace RMuseum.Migrations
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
UserId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
PoemId = table.Column<int>(type: "int", nullable: false),
|
||||
CoupletIndex = table.Column<int>(type: "int", nullable: false),
|
||||
VerseId = table.Column<int>(type: "int", nullable: false),
|
||||
Verse2Id = table.Column<int>(type: "int", nullable: true),
|
||||
Note = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
@ -984,6 +984,9 @@ namespace RMuseum.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("CoupletIndex")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<DateTime>("DateTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
|
||||
@ -33,6 +33,11 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// </summary>
|
||||
public GanjoorPoem Poem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// couplet index
|
||||
/// </summary>
|
||||
public int CoupletIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Verse Id
|
||||
/// </summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user