20260518070816_AddWithdrawVerifyEmailTemplateAndConfigDefaultsCleanup.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace Infrastructure.Migrations.AppDb
  4. {
  5. /// <inheritdoc />
  6. public partial class AddWithdrawVerifyEmailTemplateAndConfigDefaultsCleanup : Migration
  7. {
  8. /// <inheritdoc />
  9. protected override void Up(MigrationBuilder migrationBuilder)
  10. {
  11. migrationBuilder.AddColumn<string>(
  12. name: "EmailTemplate_WithdrawVerifyEmailFormContent",
  13. table: "Config",
  14. type: "nvarchar(max)",
  15. nullable: true,
  16. comment: "회원탈퇴 인증 - 내용");
  17. migrationBuilder.AddColumn<string>(
  18. name: "EmailTemplate_WithdrawVerifyEmailFormTitle",
  19. table: "Config",
  20. type: "nvarchar(max)",
  21. nullable: true,
  22. comment: "회원탈퇴 인증 - 제목");
  23. }
  24. /// <inheritdoc />
  25. protected override void Down(MigrationBuilder migrationBuilder)
  26. {
  27. migrationBuilder.DropColumn(
  28. name: "EmailTemplate_WithdrawVerifyEmailFormContent",
  29. table: "Config");
  30. migrationBuilder.DropColumn(
  31. name: "EmailTemplate_WithdrawVerifyEmailFormTitle",
  32. table: "Config");
  33. }
  34. }
  35. }