parent
ea89232e1d
commit
9fc89db467
5967
RMuseum/Migrations/20250128100350_SectionCoupletCount.Designer.cs
generated
Normal file
5967
RMuseum/Migrations/20250128100350_SectionCoupletCount.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
29
RMuseum/Migrations/20250128100350_SectionCoupletCount.cs
Normal file
29
RMuseum/Migrations/20250128100350_SectionCoupletCount.cs
Normal 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");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user