add max limit for strings

This commit is contained in:
Stanley Dimant 2022-08-16 19:04:53 +02:00
parent 9092c4206f
commit 077f6f3dc4
9 changed files with 454 additions and 7 deletions

View file

@ -7,7 +7,9 @@ namespace MareSynchronosServer.Models
{
[Key]
public ulong DiscordId { get; set; }
[MaxLength(100)]
public string HashedLodestoneId { get; set; }
[MaxLength(100)]
public string? LodestoneAuthString { get; set; }
public User? User { get; set; }
public DateTime? StartedAt { get; set; }