Files
budget/src/Budget.Infrastructure/Data/Migrations/20260503121617_RemoveEffectiveTaxRate.cs
T
2026-05-03 07:20:19 -05:00

32 lines
860 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Budget.Infrastructure.Data.Migrations
{
/// <inheritdoc />
public partial class RemoveEffectiveTaxRate : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "EffectiveTaxRate",
table: "Budgets");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<decimal>(
name: "EffectiveTaxRate",
table: "Budgets",
type: "numeric(5,4)",
precision: 5,
scale: 4,
nullable: false,
defaultValue: 0m);
}
}
}