Add HashPassword column to Users table in CMS schema

This commit is contained in:
masoodafar-web
2025-11-13 21:41:27 +03:30
parent 8c4b1ab4f4
commit 0e31384e3b
2 changed files with 1042 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace CMSMicroservice.Infrastructure.Persistence.Migrations
{
/// <inheritdoc />
public partial class u06 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "HashPassword",
schema: "CMS",
table: "Users",
type: "nvarchar(max)",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "HashPassword",
schema: "CMS",
table: "Users");
}
}
}