24 lines
628 B
C#
24 lines
628 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
namespace StudyLib.Migrations
|
|||
|
{
|
|||
|
public partial class EditedBy2 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.RenameColumn(
|
|||
|
name: "editedBy",
|
|||
|
table: "Subjects",
|
|||
|
newName: "EditedBy");
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.RenameColumn(
|
|||
|
name: "EditedBy",
|
|||
|
table: "Subjects",
|
|||
|
newName: "editedBy");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|