58bfd189d0
implement basic run-as functionality
23 lines
661 B
C#
23 lines
661 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace SharedLibraryCore.Migrations
|
|
{
|
|
public partial class AddImpersonationIdToEFChangeHistory : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "ImpersonationEntityId",
|
|
table: "EFChangeHistory",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "ImpersonationEntityId",
|
|
table: "EFChangeHistory");
|
|
}
|
|
}
|
|
}
|