feat(viewer): add LastLoginBonusClaimedAt + LoginBonusStreak columns

Drops the unused daily_login_bonuses table in the same migration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-13 15:42:40 -04:00
parent f707fb2ffb
commit 107ee106a3
4 changed files with 4854 additions and 23 deletions

View File

@@ -1075,29 +1075,6 @@ namespace SVSim.Database.Migrations
b.ToTable("ColosseumWindFallDecks");
});
modelBuilder.Entity("SVSim.Database.Models.DailyLoginBonusEntry", b =>
{
b.Property<int>("Id")
.HasColumnType("integer");
b.Property<string>("BonusData")
.IsRequired()
.HasColumnType("jsonb");
b.Property<int>("BonusId")
.HasColumnType("integer");
b.Property<DateTime>("DateCreated")
.HasColumnType("timestamp with time zone");
b.Property<DateTime?>("DateUpdated")
.HasColumnType("timestamp with time zone");
b.HasKey("Id");
b.ToTable("DailyLoginBonuses");
});
modelBuilder.Entity("SVSim.Database.Models.DefaultDeckEntry", b =>
{
b.Property<int>("Id")
@@ -2711,6 +2688,12 @@ namespace SVSim.Database.Migrations
b.Property<DateTime>("LastLogin")
.HasColumnType("timestamp with time zone");
b.Property<DateTime?>("LastLoginBonusClaimedAt")
.HasColumnType("timestamp with time zone");
b.Property<int>("LoginBonusStreak")
.HasColumnType("integer");
b.Property<int>("MyPageBgId")
.HasColumnType("integer");