35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace esuite.Database.SqlServer.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class _59647_ChangePasswordChangeEmail : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
schema: "Mail",
|
|
table: "MailTemplates",
|
|
keyColumn: "Guid",
|
|
keyValue: "421B67C7-5F4B-4CAD-ADC5-528E2921790C",
|
|
column: "TemplateDefinition",
|
|
value: "<h1>Your password has been reset. Please contact your admin if this wasn't you.</h1>");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
schema: "Mail",
|
|
table: "MailTemplates",
|
|
keyColumn: "Guid",
|
|
keyValue: "421B67C7-5F4B-4CAD-ADC5-528E2921790C",
|
|
column: "TemplateDefinition",
|
|
value: "<h1>Your password has been reset. Please contact you admin if this wasn't you.</h1>");
|
|
}
|
|
}
|
|
}
|