mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
24 lines
636 B
C#
24 lines
636 B
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
|||
|
|
namespace DiscImageChef.Database.Migrations
|
|||
|
|
{
|
|||
|
|
public partial class AddNameCountModel : Migration
|
|||
|
|
{
|
|||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.RenameColumn(
|
|||
|
|
name: "Value",
|
|||
|
|
table: "Versions",
|
|||
|
|
newName: "Name");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.RenameColumn(
|
|||
|
|
name: "Name",
|
|||
|
|
table: "Versions",
|
|||
|
|
newName: "Value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|