mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
26 lines
733 B
C#
26 lines
733 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BTCPayServer.Migrations
|
|
{
|
|
public partial class RequiresEmailConfirmation : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "RequiresEmailConfirmation",
|
|
table: "AspNetUsers",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "RequiresEmailConfirmation",
|
|
table: "AspNetUsers");
|
|
}
|
|
}
|
|
}
|