ProjectUserManager/UserManagement.API/Migrations/20240912141329_PasswordHash.cs
2024-09-13 10:40:07 +02:00

30 lines
776 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace UserManagement.API.Migrations
{
/// <inheritdoc />
public partial class PasswordHash : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "PASSWORD_HASH",
table: "Users",
type: "nvarchar(max)",
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PASSWORD_HASH",
table: "Users");
}
}
}