Files
Backend-Api/AccountMangement.Infrastructure.EFCore/Migrations/20250416121822_taskSchedule rename isActive.cs
MahanCh d52141f729 fix
2025-04-16 15:50:35 +03:30

29 lines
785 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AccountMangement.Infrastructure.EFCore.Migrations
{
/// <inheritdoc />
public partial class taskSchedulerenameisActive : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "IsCanceled",
table: "TaskSchedules",
newName: "IsActive");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "IsActive",
table: "TaskSchedules",
newName: "IsCanceled");
}
}
}