using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PARR.DAL.Migrations
{
///
public partial class tblJobAddClmnisParentRelationshipsAndWorkGroupMask : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "TemplateNameMask",
schema: "job",
table: "Jobs",
type: "text",
nullable: false,
defaultValue: "",
oldClrType: typeof(string),
oldType: "text",
oldNullable: true);
migrationBuilder.AddColumn(
name: "WorkGroupMask",
schema: "job",
table: "Jobs",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn(
name: "isParentRelationships",
schema: "job",
table: "Jobs",
type: "boolean",
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "WorkGroupMask",
schema: "job",
table: "Jobs");
migrationBuilder.DropColumn(
name: "isParentRelationships",
schema: "job",
table: "Jobs");
migrationBuilder.AlterColumn(
name: "TemplateNameMask",
schema: "job",
table: "Jobs",
type: "text",
nullable: true,
oldClrType: typeof(string),
oldType: "text");
}
}
}