oh yeah woo yeah
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.
Kehyeedra/Kehyeedra3/Migrations/20200531204543_oofoof.cs

38 lines
1.1 KiB

using Microsoft.EntityFrameworkCore.Migrations;
namespace Kehyeedra3.Migrations
{
public partial class oofoof : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "CurrentBattlefish",
table: "Users",
nullable: false,
defaultValue: 0);
migrationBuilder.AlterColumn<int>(
name: "FishType",
table: "Battlefish",
nullable: false,
oldClrType: typeof(byte),
oldType: "tinyint unsigned");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CurrentBattlefish",
table: "Users");
migrationBuilder.AlterColumn<byte>(
name: "FishType",
table: "Battlefish",
type: "tinyint unsigned",
nullable: false,
oldClrType: typeof(int));
}
}
}