25 lines
679 B
C#
25 lines
679 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Nexus.Api.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddDelegatedState : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
// Delegated state is a pure code change to the TaskState enum and
|
|
// TaskStateHelper. No schema change required since the State column
|
|
// is already a free-form string column.
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
// No schema to revert.
|
|
}
|
|
}
|
|
}
|