study-lib-backend/Migrations/20210103193005_EditedBy2.cs

24 lines
628 B
C#
Raw Normal View History

2021-01-03 23:31:11 +01:00
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");
}
}
}