using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
///
public partial class SegmentationSaved : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "IsSaved",
table: "Segmentation",
type: "bit",
nullable: false,
defaultValue: false);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_SegmentBinding_Segment_SegmentId",
table: "SegmentBinding");
migrationBuilder.DropForeignKey(
name: "FK_SegmentBinding_Segmentation_SegmentationId",
table: "SegmentBinding");
migrationBuilder.DropColumn(
name: "IsSaved",
table: "Segmentation");
}
}
}