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

@ -12,7 +12,7 @@ namespace Start.Server.Data.Migrations
{
BookmarkContainerId = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Title = table.Column<string>(type: "TEXT", nullable: false),
Title = table.Column<string>(type: "TEXT", maxLength: 300, nullable: false),
ApplicationUserId = table.Column<string>(type: "TEXT", nullable: false)
},
constraints: table =>