Added budget update

Added portfolio and programme value calculator endpoints
This commit is contained in:
2026-09-26 15:14:29 +02:00
parent 6be74e9a24
commit ed6e57ffa9
16 changed files with 2729 additions and 2 deletions
@@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PostFundManagement.Infrastructure.Database.Migrations
{
/// <inheritdoc />
public partial class AddedstatusToBudget : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Status",
table: "Budgets",
type: "integer",
nullable: false,
defaultValueSql: "1");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Status",
table: "Budgets");
}
}
}
@@ -295,6 +295,11 @@ namespace PostFundManagement.Infrastructure.Database.Migrations
b.Property<long>("ProjectId")
.HasColumnType("bigint");
b.Property<int>("Status")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasDefaultValueSql("1");
b.Property<long>("TenantId")
.HasColumnType("bigint");