divan/RMuseum/Migrations/20240614124435_SureNameFix.cs
2024-06-14 16:15:37 +03:30

29 lines
729 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace RMuseum.Migrations
{
/// <inheritdoc />
public partial class SureNameFix : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "SureName",
table: "AspNetUsers",
newName: "SurName");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "SurName",
table: "AspNetUsers",
newName: "SureName");
}
}
}