Kavita/API/Data/Migrations/20220717145254_UserConfirmationLink.cs
Joseph Milazzo 1d806bf622
Create Users Manually (Email still required) (#1381)
* Implemented a manual button to allow users to setup an account, even after they invited.

Updated error toast to put "Error" in the title of the toast.

* Updated the exception middleware to always send full context instead of generic "Internal Server Error"
2022-07-17 08:43:03 -07:00

26 lines
673 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace API.Data.Migrations
{
public partial class UserConfirmationLink : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "ConfirmationToken",
table: "AspNetUsers",
type: "TEXT",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ConfirmationToken",
table: "AspNetUsers");
}
}
}