mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 21:51:29 +00:00
30 lines
897 B
C#
30 lines
897 B
C#
using LBPUnion.ProjectLighthouse;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace ProjectLighthouse.Migrations
|
|
{
|
|
[DbContext(typeof(Database))]
|
|
[Migration("20220302003658_AddEmailVerifiedToUser")]
|
|
public partial class AddEmailVerifiedToUser : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "EmailAddressVerified",
|
|
table: "Users",
|
|
type: "tinyint(1)",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "EmailAddressVerified",
|
|
table: "Users");
|
|
}
|
|
}
|
|
}
|