Files
Backend-Api/CompanyManagment.EFCore/Migrations/20250512140344_add entity Id to Checkout ValueObjects.cs
2025-05-12 17:40:46 +03:30

41 lines
1.1 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace CompanyManagment.EFCore.Migrations
{
/// <inheritdoc />
public partial class addentityIdtoCheckoutValueObjects : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<long>(
name: "EntityId",
table: "CheckoutSalaryAid",
type: "bigint",
nullable: false,
defaultValue: 0L);
migrationBuilder.AddColumn<long>(
name: "EntityId",
table: "CheckoutLoanInstallment",
type: "bigint",
nullable: false,
defaultValue: 0L);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "EntityId",
table: "CheckoutSalaryAid");
migrationBuilder.DropColumn(
name: "EntityId",
table: "CheckoutLoanInstallment");
}
}
}