66 lines
2.0 KiB
C#
66 lines
2.0 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace wtmProject.DataAccess.Migrations
|
|
{
|
|
public partial class hmr2024080601 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "FifthBillingAmount",
|
|
table: "WTM_CONTRACT",
|
|
type: "decimal(18,2)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "FirstBillingAmount",
|
|
table: "WTM_CONTRACT",
|
|
type: "decimal(18,2)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "FourthBillingAmount",
|
|
table: "WTM_CONTRACT",
|
|
type: "decimal(18,2)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "SecondBillingAmount",
|
|
table: "WTM_CONTRACT",
|
|
type: "decimal(18,2)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "ThreeBillingAmount",
|
|
table: "WTM_CONTRACT",
|
|
type: "decimal(18,2)",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "FifthBillingAmount",
|
|
table: "WTM_CONTRACT");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "FirstBillingAmount",
|
|
table: "WTM_CONTRACT");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "FourthBillingAmount",
|
|
table: "WTM_CONTRACT");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "SecondBillingAmount",
|
|
table: "WTM_CONTRACT");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "ThreeBillingAmount",
|
|
table: "WTM_CONTRACT");
|
|
}
|
|
}
|
|
}
|