using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MTWorkHR.Infrastructure.Migrations
{
///
public partial class alteContractfixedPay : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "FirstPatchAmount",
table: "Contracts",
type: "decimal(18,2)",
nullable: true);
migrationBuilder.AddColumn(
name: "FirstPatchDateFrom",
table: "Contracts",
type: "datetime2",
nullable: true);
migrationBuilder.AddColumn(
name: "FirstPatchDateTo",
table: "Contracts",
type: "datetime2",
nullable: true);
migrationBuilder.AddColumn(
name: "LastPatchAmount",
table: "Contracts",
type: "decimal(18,2)",
nullable: true);
migrationBuilder.AddColumn(
name: "LastPatchDateFrom",
table: "Contracts",
type: "datetime2",
nullable: true);
migrationBuilder.AddColumn(
name: "LastPatchDateTo",
table: "Contracts",
type: "datetime2",
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "FirstPatchAmount",
table: "Contracts");
migrationBuilder.DropColumn(
name: "FirstPatchDateFrom",
table: "Contracts");
migrationBuilder.DropColumn(
name: "FirstPatchDateTo",
table: "Contracts");
migrationBuilder.DropColumn(
name: "LastPatchAmount",
table: "Contracts");
migrationBuilder.DropColumn(
name: "LastPatchDateFrom",
table: "Contracts");
migrationBuilder.DropColumn(
name: "LastPatchDateTo",
table: "Contracts");
}
}
}