#445 db migration : GanjoorVerse + Tajik
This commit is contained in:
parent
880e6e8a58
commit
a9fc47d001
5815
RMuseum/Migrations/20240719153640_TajikVerse.Designer.cs
generated
Normal file
5815
RMuseum/Migrations/20240719153640_TajikVerse.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
28
RMuseum/Migrations/20240719153640_TajikVerse.cs
Normal file
28
RMuseum/Migrations/20240719153640_TajikVerse.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class TajikVerse : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Tajik",
|
||||
table: "GanjoorVerses",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Tajik",
|
||||
table: "GanjoorVerses");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2182,6 +2182,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<int?>("SectionIndex4")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Tajik")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user