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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user