39 lines
1.1 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|