using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace SVSim.Database.Migrations { /// public partial class AddStorySectionSpoilerFields : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "IsSpoiler", table: "StorySections", type: "integer", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "SpoilerMessage", table: "StorySections", type: "text", nullable: false, defaultValue: ""); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IsSpoiler", table: "StorySections"); migrationBuilder.DropColumn( name: "SpoilerMessage", table: "StorySections"); } } }