Refactor Home UI controls and add dice to campaign log entries
This commit is contained in:
@@ -69,6 +69,7 @@ public sealed class RpgRollerDbContext : DbContext
|
||||
entity.HasKey(x => x.Id);
|
||||
entity.Property(x => x.Visibility).HasConversion<string>().IsRequired();
|
||||
entity.Property(x => x.Breakdown).IsRequired().HasMaxLength(256);
|
||||
entity.Property(x => x.Dice).IsRequired();
|
||||
entity.Property(x => x.TimestampUtc).IsRequired();
|
||||
entity.HasIndex(x => x.CampaignId);
|
||||
entity.HasIndex(x => x.RollerUserId);
|
||||
|
||||
Reference in New Issue
Block a user