using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Blahblah.FlowerStory.Server.Migrations { /// public partial class AddAvatarMemo : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "avatar", table: "users", type: "BLOB", nullable: true); migrationBuilder.AddColumn( name: "memo", table: "records", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "memo", table: "flowers", type: "TEXT", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "avatar", table: "users"); migrationBuilder.DropColumn( name: "memo", table: "records"); migrationBuilder.DropColumn( name: "memo", table: "flowers"); } } }