set `Id in User` to have a max length

This commit is contained in:
Alan Moon 2025-03-18 17:45:55 -07:00
parent d180d724c7
commit 745e38dfc2

View File

@ -3,6 +3,7 @@
namespace sodoff.Model; namespace sodoff.Model;
public class User { public class User {
[Key] [Key]
[MaxLength(255)]
public Guid Id { get; set; } public Guid Id { get; set; }
[Required] [Required]