#224 added PinOrder field to GanjoorPoet
This commit is contained in:
parent
5eb8d811d3
commit
57feb77470
@ -10,8 +10,8 @@ using RMuseum.DbContext;
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
[DbContext(typeof(RMuseumDbContext))]
|
||||
[Migration("20211021064655_GanjoorHalfCenturies")]
|
||||
partial class GanjoorHalfCenturies
|
||||
[Migration("20211021102748_GanjoorHalfCentury")]
|
||||
partial class GanjoorHalfCentury
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
@ -1014,6 +1014,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("Nickname")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("PinOrder")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("Published")
|
||||
.HasColumnType("bit");
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
public partial class GanjoorHalfCenturies : Migration
|
||||
public partial class GanjoorHalfCentury : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
@ -26,6 +26,13 @@ namespace RMuseum.Migrations
|
||||
type: "int",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "PinOrder",
|
||||
table: "GanjoorPoets",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "GanjoorHalfCenturies",
|
||||
columns: table => new
|
||||
@ -81,6 +88,10 @@ namespace RMuseum.Migrations
|
||||
migrationBuilder.DropColumn(
|
||||
name: "GanjoorHalfCenturyId",
|
||||
table: "GanjoorPoets");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PinOrder",
|
||||
table: "GanjoorPoets");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1012,6 +1012,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("Nickname")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("PinOrder")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("Published")
|
||||
.HasColumnType("bit");
|
||||
|
||||
|
||||
@ -60,5 +60,10 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// death year in lunar hijri
|
||||
/// </summary>
|
||||
public int DeathYearInLHijri { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Home page pin order (zero not pinned)
|
||||
/// </summary>
|
||||
public int PinOrder { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -5480,6 +5480,11 @@
|
||||
death year in lunar hijri
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.PinOrder">
|
||||
<summary>
|
||||
Home page pin order (zero not pinned)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Ganjoor.GanjoorSiteBanner">
|
||||
<summary>
|
||||
ganjoor.net site banner
|
||||
|
||||
Loading…
Reference in New Issue
Block a user