w4c-workflows-api/Data/Migrations/20260828144910_AddRunStartTaskId.cs

32 lines
833 B
C#
Raw Normal View History

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace w4c_workflows.Data.Migrations
{
/// <inheritdoc />
public partial class AddRunStartTaskId : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "StartTaskId",
schema: "workflows",
table: "WorkflowRuns",
type: "uuid",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "StartTaskId",
schema: "workflows",
table: "WorkflowRuns");
}
}
}