diff --git a/OliverBooth/Data/Web/Configuration/TutorialFolderConfiguration.cs b/OliverBooth/Data/Web/Configuration/TutorialFolderConfiguration.cs index a925f63..5fce7f2 100644 --- a/OliverBooth/Data/Web/Configuration/TutorialFolderConfiguration.cs +++ b/OliverBooth/Data/Web/Configuration/TutorialFolderConfiguration.cs @@ -16,8 +16,8 @@ internal sealed class TutorialFolderConfiguration : IEntityTypeConfiguration e.Id).IsRequired(); builder.Property(e => e.Parent); - builder.Property(e => e.Slug).IsRequired(); - builder.Property(e => e.Title).IsRequired(); + builder.Property(e => e.Slug).HasMaxLength(50).IsRequired(); + builder.Property(e => e.Title).HasMaxLength(255).IsRequired(); builder.Property(e => e.PreviewImageUrl).HasConversion(); } }