Add migration for agent fees
This commit is contained in:
1
src/Managing.Core/Models/GasFeeInfo.cs
Normal file
1
src/Managing.Core/Models/GasFeeInfo.cs
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1442
src/Managing.Infrastructure.Database/Migrations/20250928124028_AddTotalFeesToAgentSummary.Designer.cs
generated
Normal file
1442
src/Managing.Infrastructure.Database/Migrations/20250928124028_AddTotalFeesToAgentSummary.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Managing.Infrastructure.Databases.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddTotalFeesToAgentSummary : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "TotalFees",
|
||||
table: "AgentSummaries",
|
||||
type: "numeric",
|
||||
nullable: false,
|
||||
defaultValue: 0m);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TotalFees",
|
||||
table: "AgentSummaries");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user