Added support for savemaxpower
This commit is contained in:
1020
TOOHUCardAPI/Migrations/20211031065641_maxpower stuff.Designer.cs
generated
Normal file
1020
TOOHUCardAPI/Migrations/20211031065641_maxpower stuff.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
24
TOOHUCardAPI/Migrations/20211031065641_maxpower stuff.cs
Normal file
24
TOOHUCardAPI/Migrations/20211031065641_maxpower stuff.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace TOOHUCardAPI.Migrations
|
||||
{
|
||||
public partial class maxpowerstuff : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "PowerMaxTotal",
|
||||
table: "Users",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PowerMaxTotal",
|
||||
table: "Users");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -971,6 +971,9 @@ namespace TOOHUCardAPI.Migrations
|
||||
b.Property<int>("Point")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("PowerMaxTotal")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("Vip")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user