using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Infrastructure.Persistence.Migrations
{
///
public partial class AddTemplateFontToAlertConfig : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "TemplateFontColor",
table: "DonationAlertConfig",
type: "nvarchar(max)",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn(
name: "TemplateFontFamily",
table: "DonationAlertConfig",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn(
name: "TemplateFontSize",
table: "DonationAlertConfig",
type: "int",
nullable: false,
defaultValue: 0);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "TemplateFontColor",
table: "DonationAlertConfig");
migrationBuilder.DropColumn(
name: "TemplateFontFamily",
table: "DonationAlertConfig");
migrationBuilder.DropColumn(
name: "TemplateFontSize",
table: "DonationAlertConfig");
}
}
}