Set a max length for BookmarkContainer.title

This commit is contained in:
Neil Brommer 2021-11-13 20:27:24 -08:00
parent 6ec00b7d06
commit 00136bc11b
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@ namespace Start.Server.Models {
[Key]
public int BookmarkContainerId { get; set; }
[MaxLength(300)]
public string Title { get; set; }
/// <summary>The unique ID of the user that this container belongs to</summary>