TOS
Bugfix stream editor
This commit is contained in:
@ -14,6 +14,9 @@ public class UserConfiguration : IEntityTypeConfiguration<User>
|
||||
builder.Property(a => a.Balance)
|
||||
.IsRequired();
|
||||
|
||||
builder.Property(a => a.TosAccepted)
|
||||
.IsRequired();
|
||||
|
||||
builder.Property(a => a.Version)
|
||||
.IsRowVersion();
|
||||
|
||||
|
@ -38,6 +38,11 @@ public class User
|
||||
/// Any content warning tag (NIP-36)
|
||||
/// </summary>
|
||||
public string? ContentWarning { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Date when user accepted TOS
|
||||
/// </summary>
|
||||
public DateTime? TosAccepted { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Concurrency token
|
||||
|
Reference in New Issue
Block a user