Files
Backend-Api/CompanyManagment.EFCore/Migrations/20241228124236_CurrectionNameOnCheckout.cs
2025-01-04 16:14:10 +03:30

39 lines
1.1 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace CompanyManagment.EFCore.Migrations
{
/// <inheritdoc />
public partial class CurrectionNameOnCheckout : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "OverTimeWorkvalue",
table: "Checkouts",
newName: "OverTimeWorkValue");
migrationBuilder.RenameColumn(
name: "RotatingShifValue",
table: "Checkouts",
newName: "RotatingShiftValue");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "OverTimeWorkValue",
table: "Checkouts",
newName: "OverTimeWorkvalue");
migrationBuilder.RenameColumn(
name: "RotatingShiftValue",
table: "Checkouts",
newName: "RotatingShifValue");
}
}
}