Crafting2
This commit is contained in:
+2293
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,72 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SystemRevivalServer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Crafting2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<float>(
|
||||
name: "BonusOutputChanceAtMinLevel",
|
||||
table: "dungeon_crafting_recipes",
|
||||
type: "float",
|
||||
nullable: false,
|
||||
defaultValue: 0f);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "BonusOutputItemDefinitionId",
|
||||
table: "dungeon_crafting_recipes",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "BonusOutputMaxLevel",
|
||||
table: "dungeon_crafting_recipes",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "BonusOutputMinLevel",
|
||||
table: "dungeon_crafting_recipes",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "BonusOutputQuantity",
|
||||
table: "dungeon_crafting_recipes",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -562,6 +562,21 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<int>("BaseXp")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float>("BonusOutputChanceAtMinLevel")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int?>("BonusOutputItemDefinitionId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("BonusOutputMaxLevel")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("BonusOutputMinLevel")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("BonusOutputQuantity")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasMaxLength(256)
|
||||
|
||||
Reference in New Issue
Block a user