using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace esuite.Database.SqlServer.Migrations
{
    /// <inheritdoc />
    public partial class PasswordResetCompletedEmailAdded : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                schema: "Mail",
                table: "MailTemplates",
                columns: new[] { "Deleted", "DomainId", "Guid", "MailType", "Subject", "TemplateDefinition" },
                values: new object[] { false, 1L, new Guid("421b67c7-5f4b-4cad-adc5-528e2921790c"), 3, "Password successfully reset", "<h1>Your password has been reset. Please contact you admin if this wasn't you.</h1>" });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                schema: "Mail",
                table: "MailTemplates",
                keyColumn: "Guid",
                keyValue: new Guid("421b67c7-5f4b-4cad-adc5-528e2921790c"));
        }
    }
}
