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