Files
Govor/Govor.Domain/Migrations/20261024114709_PreserveResetSigners.cs
T
Artemy a3401ceedf Add SRP password recovery and E2EE reset
Add proof-based password registration, login, enrollment, and change flows, with rate limiting and encrypted recovery-key envelopes. Support explicit E2EE identity resets while preserving historical signer verification, and document and test the new recovery workflows.
2026-10-24 22:19:08 +07:00

41 lines
1.1 KiB
C#

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