using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Data.Migrations { /// public partial class PeopleOverhaulPart2 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "CoverImage", table: "Person", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "CoverImageLocked", table: "Person", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "PrimaryColor", table: "Person", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "SecondaryColor", table: "Person", type: "TEXT", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "CoverImage", table: "Person"); migrationBuilder.DropColumn( name: "CoverImageLocked", table: "Person"); migrationBuilder.DropColumn( name: "PrimaryColor", table: "Person"); migrationBuilder.DropColumn( name: "SecondaryColor", table: "Person"); } } }