Files
API/TOOHUCardAPI/Migrations/20211107042237_user id to rankentry, dunno how to grab it for a user.cs

25 lines
698 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace TOOHUCardAPI.Migrations
{
public partial class useridtorankentrydunnohowtograbitforauser : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<long>(
name: "AccountId",
table: "RankEntries",
type: "bigint",
nullable: false,
defaultValue: 0L);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AccountId",
table: "RankEntries");
}
}
}