#467 db migration
This commit is contained in:
parent
e2c396ff3a
commit
232b5eae5c
6062
RMuseum/Migrations/20250326111037_CatCorrectionPlusPageId.Designer.cs
generated
Normal file
6062
RMuseum/Migrations/20250326111037_CatCorrectionPlusPageId.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
29
RMuseum/Migrations/20250326111037_CatCorrectionPlusPageId.cs
Normal file
29
RMuseum/Migrations/20250326111037_CatCorrectionPlusPageId.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class CatCorrectionPlusPageId : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "PageId",
|
||||
table: "GanjoorCatCorrections",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PageId",
|
||||
table: "GanjoorCatCorrections");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -866,6 +866,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("OriginalDescriptionHtml")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("PageId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Result")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user