using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
    /// 
    public partial class EmailModify : Migration
    {
        /// 
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn(
                name: "EmailDelaySeconds",
                table: "TrialEmailNoticeConfig",
                type: "int",
                nullable: true,
                comment: "邮件延时秒数,比如一个事件触发,延迟多少s后才发邮件");
            migrationBuilder.AddColumn(
                name: "EmailDelaySeconds",
                table: "EmailNoticeConfig",
                type: "int",
                nullable: true,
                comment: "邮件延时秒数,比如一个事件触发,延迟多少s后才发邮件");
        }
        /// 
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "EmailDelaySeconds",
                table: "TrialEmailNoticeConfig");
            migrationBuilder.DropColumn(
                name: "EmailDelaySeconds",
                table: "EmailNoticeConfig");
        }
    }
}