Add admin roles, user management, and campaign deletion
This commit is contained in:
@@ -18,6 +18,7 @@ public sealed class RpgRollerDbContext : DbContext
|
||||
entity.Property(x => x.UsernameNormalized).IsRequired().HasMaxLength(64);
|
||||
entity.Property(x => x.PasswordHash).IsRequired();
|
||||
entity.Property(x => x.DisplayName).IsRequired().HasMaxLength(128);
|
||||
entity.Property(x => x.Roles).IsRequired().HasMaxLength(256);
|
||||
entity.HasIndex(x => x.UsernameNormalized).IsUnique();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user