Adds unique index for Creator's Name

This commit is contained in:
2025-01-08 15:00:37 -05:00
parent dad51f2454
commit bca460e326
7 changed files with 516 additions and 25 deletions

View File

@@ -8,6 +8,7 @@ public class Creator
public Guid CreatedBy { get; set; }
public DateTimeOffset CreatedAt { get; init; }
[MaxLength(255)] public string Name { get; set; } = null!;
[MaxLength(255)] public string NormalizedName { get; set; } = null!;
[MaxLength(255)] public string? Title { get; set; }
public Socials Socials { get; set; } = new();
public Colors Colors { get; set; } = new();