Files
Backend-Api/AccountMangement.Infrastructure.EFCore/Migrations/20240821152830_AccountTableChanges.cs
2024-08-24 19:13:34 +03:30

30 lines
808 B
C#

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