Files
Backend-Api/CompanyManagment.EFCore/Migrations/20250805123156_Add PaymentInstrument Group IsActive.cs
2025-08-05 16:05:17 +03:30

30 lines
814 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace CompanyManagment.EFCore.Migrations
{
/// <inheritdoc />
public partial class AddPaymentInstrumentGroupIsActive : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "IsActive",
table: "PaymentInstrumentGroups",
type: "int",
nullable: false,
defaultValue: 0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsActive",
table: "PaymentInstrumentGroups");
}
}
}