using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Govor.Domain.Migrations { /// public partial class PreserveResetSigners : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "PreviousDeviceKeyJson", table: "E2eeIdentityChanges", type: "character varying(10000)", maxLength: 10000, nullable: true); migrationBuilder.AddColumn( name: "PreviousSessionId", table: "E2eeIdentityChanges", type: "uuid", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PreviousDeviceKeyJson", table: "E2eeIdentityChanges"); migrationBuilder.DropColumn( name: "PreviousSessionId", table: "E2eeIdentityChanges"); } } }