Files
MTG_CardCollectionTool/MTG_CollectionVerwaltung/Data/Migrations/20250819133730_AddMustChangePasswordToUsers.cs
2025-09-07 19:06:43 +02:00

30 lines
815 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MTG_CollectionVerwaltung.Migrations
{
/// <inheritdoc />
public partial class AddMustChangePasswordToUsers : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "MustChangePassword",
table: "AspNetUsers",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "MustChangePassword",
table: "AspNetUsers");
}
}
}