Added default card group for new players
This commit is contained in:
1029
TOOHUCardAPI/Migrations/20211031180730_daily login change.Designer.cs
generated
Normal file
1029
TOOHUCardAPI/Migrations/20211031180730_daily login change.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
25
TOOHUCardAPI/Migrations/20211031180730_daily login change.cs
Normal file
25
TOOHUCardAPI/Migrations/20211031180730_daily login change.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace TOOHUCardAPI.Migrations
|
||||
{
|
||||
public partial class dailyloginchange : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "LastDailyLoginBonus",
|
||||
table: "Users",
|
||||
type: "TEXT",
|
||||
nullable: false,
|
||||
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LastDailyLoginBonus",
|
||||
table: "Users");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -956,6 +956,9 @@ namespace TOOHUCardAPI.Migrations
|
||||
b.Property<int>("KeyUseCount")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<DateTime>("LastDailyLoginBonus")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateTime>("LastFirstWin")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user