using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace GameList.Data.Migrations { /// public partial class PerUserPhases : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "CurrentPhase", table: "AppState"); migrationBuilder.AddColumn( name: "CurrentPhase", table: "Players", type: "INTEGER", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "ResultsOpen", table: "AppState", type: "INTEGER", nullable: false, defaultValue: false); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ResultsOpen", table: "AppState"); migrationBuilder.DropColumn( name: "CurrentPhase", table: "Players"); migrationBuilder.AddColumn( name: "CurrentPhase", table: "AppState", type: "INTEGER", nullable: false, defaultValue: 0); } } }