mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
39 lines
1003 B
C#
39 lines
1003 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace RadicadeServer.Migrations
|
|
{
|
|
|
|
public partial class AddPasswordReset : Migration
|
|
{
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "PasswordResetToken",
|
|
table: "Players",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<DateTime>(
|
|
name: "PasswordResetExpires",
|
|
table: "Players",
|
|
type: "datetime2",
|
|
nullable: true);
|
|
}
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "PasswordResetToken",
|
|
table: "Players");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "PasswordResetExpires",
|
|
table: "Players");
|
|
}
|
|
}
|
|
}
|