using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace w4c_workflows.Data.Migrations
{
///
public partial class AddWorkflowVersion : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Version",
schema: "workflows",
table: "Workflows",
type: "text",
nullable: false,
defaultValue: "1.0.0");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Version",
schema: "workflows",
table: "Workflows");
}
}
}