using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace SystemRevivalServer.Migrations { /// public partial class Crafting2 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "BonusOutputChanceAtMinLevel", table: "dungeon_crafting_recipes", type: "float", nullable: false, defaultValue: 0f); migrationBuilder.AddColumn( name: "BonusOutputItemDefinitionId", table: "dungeon_crafting_recipes", type: "int", nullable: true); migrationBuilder.AddColumn( name: "BonusOutputMaxLevel", table: "dungeon_crafting_recipes", type: "int", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "BonusOutputMinLevel", table: "dungeon_crafting_recipes", type: "int", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "BonusOutputQuantity", table: "dungeon_crafting_recipes", type: "int", nullable: false, defaultValue: 0); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "BonusOutputChanceAtMinLevel", table: "dungeon_crafting_recipes"); migrationBuilder.DropColumn( name: "BonusOutputItemDefinitionId", table: "dungeon_crafting_recipes"); migrationBuilder.DropColumn( name: "BonusOutputMaxLevel", table: "dungeon_crafting_recipes"); migrationBuilder.DropColumn( name: "BonusOutputMinLevel", table: "dungeon_crafting_recipes"); migrationBuilder.DropColumn( name: "BonusOutputQuantity", table: "dungeon_crafting_recipes"); } } }