more rank stuff, might be ready for use
This commit is contained in:
1114
TOOHUCardAPI/Migrations/20211107042237_user id to rankentry, dunno how to grab it for a user.Designer.cs
generated
Normal file
1114
TOOHUCardAPI/Migrations/20211107042237_user id to rankentry, dunno how to grab it for a user.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,24 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -947,6 +947,9 @@ namespace TOOHUCardAPI.Migrations
|
||||
.HasColumnType("integer")
|
||||
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
||||
|
||||
b.Property<long>("AccountId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<long>("Damage")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user