using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MinAttest.Infrastructure.Data.Migrations
{
///
public partial class AddAttestContentColumns : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Content",
table: "Attests",
type: "varbinary(max)",
nullable: true);
migrationBuilder.AddColumn(
name: "ContentLength",
table: "Attests",
type: "bigint",
nullable: true);
migrationBuilder.AddColumn(
name: "ContentType",
table: "Attests",
type: "nvarchar(255)",
maxLength: 255,
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Content",
table: "Attests");
migrationBuilder.DropColumn(
name: "ContentLength",
table: "Attests");
migrationBuilder.DropColumn(
name: "ContentType",
table: "Attests");
}
}
}