using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace w4c_workflows.Data.Migrations
{
///
public partial class AddTaskKey : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Key",
schema: "workflows",
table: "Tasks",
type: "character varying(100)",
maxLength: 100,
nullable: false,
defaultValue: "");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Key",
schema: "workflows",
table: "Tasks");
}
}
}