FlowAPI / FlowAPI.Infrastructure /Migrations /20260517154225_AddAvatarUrl.cs
danylokhodus's picture
init
b9c7f0e
Raw
History Blame Contribute Delete
728 Bytes
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FlowAPI.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddAvatarUrl : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "AvatarUrl",
table: "Users",
type: "TEXT",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AvatarUrl",
table: "Users");
}
}
}