SurveyVista/Web/Migrations/20240508104306_EmailTrackingModelChangedWithIsBlockedPrperty.cs
2024-05-09 14:08:10 +02:00

29 lines
807 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Web.Migrations
{
/// <inheritdoc />
public partial class EmailTrackingModelChangedWithIsBlockedPrperty : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsBlocked",
table: "SentNewsletterEamils",
type: "bit",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsBlocked",
table: "SentNewsletterEamils");
}
}
}