forked from Sarah/Lieb-Website
reworked Guild Wars 2 builds
total rework of RandomizeWithBoons
This commit is contained in:
parent
bc2983584c
commit
90794ed4a2
11 changed files with 879 additions and 247 deletions
47
Lieb/Migrations/20221205213924_ReworkedGW2Build.cs
Normal file
47
Lieb/Migrations/20221205213924_ReworkedGW2Build.cs
Normal file
|
@ -0,0 +1,47 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Lieb.Migrations
|
||||
{
|
||||
public partial class ReworkedGW2Build : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Heal",
|
||||
table: "GuildWars2Build",
|
||||
newName: "UseInRandomRaid");
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "DamageType",
|
||||
table: "GuildWars2Build",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Source",
|
||||
table: "GuildWars2Build",
|
||||
type: "TEXT",
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DamageType",
|
||||
table: "GuildWars2Build");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Source",
|
||||
table: "GuildWars2Build");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "UseInRandomRaid",
|
||||
table: "GuildWars2Build",
|
||||
newName: "Heal");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue