divan/RMuseum/Migrations/20220526145910_CorrectionVPosDel.cs
Anas Rashid 532d005cdb Rename Ganjoor -> Divan throughout the code
Projects (GanjooRazor -> DivanRazor, GanjoorService.sln -> DivanService.sln), files,
folders, classes, namespaces, settings, API routes (/api/divan) and DB tables (Divan*).
External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed
consistently (no pending model changes); requires a fresh database.
Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:49:01 +02:00

69 lines
2.1 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace RMuseum.Migrations
{
public partial class CorrectionVPosDel : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "MarkForDelete",
table: "DivanVerseVOrderText",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<int>(
name: "MarkForDeleteResult",
table: "DivanVerseVOrderText",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "OriginalVersePosition",
table: "DivanVerseVOrderText",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "VersePosition",
table: "DivanVerseVOrderText",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "VersePositionResult",
table: "DivanVerseVOrderText",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "MarkForDelete",
table: "DivanVerseVOrderText");
migrationBuilder.DropColumn(
name: "MarkForDeleteResult",
table: "DivanVerseVOrderText");
migrationBuilder.DropColumn(
name: "OriginalVersePosition",
table: "DivanVerseVOrderText");
migrationBuilder.DropColumn(
name: "VersePosition",
table: "DivanVerseVOrderText");
migrationBuilder.DropColumn(
name: "VersePositionResult",
table: "DivanVerseVOrderText");
}
}
}