parent
93cd519975
commit
cae1630bdb
4428
RMuseum/Migrations/20230203104439_NewVerseSectionLang.Designer.cs
generated
Normal file
4428
RMuseum/Migrations/20230203104439_NewVerseSectionLang.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
50
RMuseum/Migrations/20230203104439_NewVerseSectionLang.cs
Normal file
50
RMuseum/Migrations/20230203104439_NewVerseSectionLang.cs
Normal file
@ -0,0 +1,50 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class NewVerseSectionLang : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "NewVerse",
|
||||
table: "GanjoorVerseVOrderText",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "NewVerseResult",
|
||||
table: "GanjoorVerseVOrderText",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Language",
|
||||
table: "GanjoorPoemSections",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "NewVerse",
|
||||
table: "GanjoorVerseVOrderText");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "NewVerseResult",
|
||||
table: "GanjoorVerseVOrderText");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Language",
|
||||
table: "GanjoorPoemSections");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1332,6 +1332,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<int>("Index")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Language")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("Number")
|
||||
.HasColumnType("int");
|
||||
|
||||
@ -1889,6 +1892,12 @@ namespace RMuseum.Migrations
|
||||
b.Property<int>("MarkForDeleteResult")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("NewVerse")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<int>("NewVerseResult")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("OriginalText")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user