docs: #351 database migration for suggesting rhymes
This commit is contained in:
parent
a116400f06
commit
e724ed95cd
4352
RMuseum/Migrations/20220726150439_RhymeLettersForSectionCorrection.Designer.cs
generated
Normal file
4352
RMuseum/Migrations/20220726150439_RhymeLettersForSectionCorrection.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,77 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
public partial class RhymeLettersForSectionCorrection : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OriginalRhymeLetters",
|
||||
table: "GanjoorPoemSectionCorrections",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "RhymeLetters",
|
||||
table: "GanjoorPoemSectionCorrections",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "RhymeLettersReviewResult",
|
||||
table: "GanjoorPoemSectionCorrections",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OriginalRhymeLetters",
|
||||
table: "GanjoorPoemCorrections",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "RhymeLetters",
|
||||
table: "GanjoorPoemCorrections",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "RhymeLettersReviewResult",
|
||||
table: "GanjoorPoemCorrections",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OriginalRhymeLetters",
|
||||
table: "GanjoorPoemSectionCorrections");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RhymeLetters",
|
||||
table: "GanjoorPoemSectionCorrections");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RhymeLettersReviewResult",
|
||||
table: "GanjoorPoemSectionCorrections");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OriginalRhymeLetters",
|
||||
table: "GanjoorPoemCorrections");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RhymeLetters",
|
||||
table: "GanjoorPoemCorrections");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RhymeLettersReviewResult",
|
||||
table: "GanjoorPoemCorrections");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1202,6 +1202,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("Note")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("OriginalRhymeLetters")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("OriginalRhythm")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
@ -1235,6 +1238,12 @@ namespace RMuseum.Migrations
|
||||
b.Property<Guid?>("ReviewerUserId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("RhymeLetters")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("RhymeLettersReviewResult")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Rhythm")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
@ -1444,6 +1453,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("Note")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("OriginalRhymeLetters")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("OriginalRhythm")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
@ -1462,6 +1474,12 @@ namespace RMuseum.Migrations
|
||||
b.Property<Guid?>("ReviewerUserId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("RhymeLetters")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("RhymeLettersReviewResult")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Rhythm")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user