Files
Backend-Api/AccountMangement.Infrastructure.EFCore/Migrations/20221015182242_AddRoleName.cs
2024-07-05 21:36:15 +03:30

25 lines
692 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace AccountMangement.Infrastructure.EFCore.Migrations
{
public partial class AddRoleName : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "RoleName",
table: "Accounts",
type: "nvarchar(100)",
maxLength: 100,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RoleName",
table: "Accounts");
}
}
}