You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace Kehyeedra3.Migrations
|
|
{
|
|
public partial class FishingUpdateYeah : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Level",
|
|
table: "Mining");
|
|
|
|
migrationBuilder.AddColumn<ulong>(
|
|
name: "Lvl",
|
|
table: "Mining",
|
|
nullable: false,
|
|
defaultValue: 0ul);
|
|
|
|
migrationBuilder.AddColumn<ulong>(
|
|
name: "FXp",
|
|
table: "Fishing",
|
|
nullable: false,
|
|
defaultValue: 0ul);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Lvl",
|
|
table: "Mining");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "FXp",
|
|
table: "Fishing");
|
|
|
|
migrationBuilder.AddColumn<ulong>(
|
|
name: "Level",
|
|
table: "Mining",
|
|
type: "bigint unsigned",
|
|
nullable: false,
|
|
defaultValue: 0ul);
|
|
}
|
|
}
|
|
}
|
|
|