Files
social-media/src/Infrastructure/Migrations/20240705010235_RemovePortraitUrl.cs
Dominic Villemure 4da28344f4 Remove portraitUrl -> replaced by ProfilePictureUrl
Removed duplicate ContentStore connectionString
2024-07-04 21:12:46 -04:00

29 lines
757 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Hutopy.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class RemovePortraitUrl : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PortraitUrl",
table: "AspNetUsers");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "PortraitUrl",
table: "AspNetUsers",
type: "nvarchar(max)",
nullable: true);
}
}
}