using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MTWorkHR.Infrastructure.Migrations
{
///
public partial class altrUserTask : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "AssignedUserId",
table: "UserTasks",
type: "nvarchar(max)",
nullable: false,
oldClrType: typeof(long),
oldType: "bigint");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "AssignedUserId",
table: "UserTasks",
type: "bigint",
nullable: false,
oldClrType: typeof(string),
oldType: "nvarchar(max)");
}
}
}