study-lib-backend/Migrations/20210103192936_EditedBy.cs
2021-01-03 23:31:11 +01:00

24 lines
627 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace StudyLib.Migrations
{
public partial class EditedBy : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "editedBy",
table: "Subjects",
type: "nvarchar(max)",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "editedBy",
table: "Subjects");
}
}
}