using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Socialize.Api.Migrations { /// internal partial class RemoveManualReleaseUpdateEmail : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { ArgumentNullException.ThrowIfNull(migrationBuilder); migrationBuilder.DropColumn( name: "ManualEmailRecipientCount", table: "ReleaseUpdates"); migrationBuilder.DropColumn( name: "ManualEmailSentAt", table: "ReleaseUpdates"); migrationBuilder.DropColumn( name: "ManualEmailSentByUserId", table: "ReleaseUpdates"); } /// protected override void Down(MigrationBuilder migrationBuilder) { ArgumentNullException.ThrowIfNull(migrationBuilder); migrationBuilder.AddColumn( name: "ManualEmailRecipientCount", table: "ReleaseUpdates", type: "integer", nullable: true); migrationBuilder.AddColumn( name: "ManualEmailSentAt", table: "ReleaseUpdates", type: "timestamp with time zone", nullable: true); migrationBuilder.AddColumn( name: "ManualEmailSentByUserId", table: "ReleaseUpdates", type: "uuid", nullable: true); } } }