Renames ProfileColors to Colors
This commit is contained in:
@@ -49,8 +49,8 @@ public class ContentDbContext(
|
||||
|
||||
modelBuilder
|
||||
.Entity<Creator>()
|
||||
.OwnsOne<ProfileColors>(x => x.ProfileColors)
|
||||
.ToTable(nameof(ProfileColors));
|
||||
.OwnsOne<Colors>(x => x.Colors)
|
||||
.ToTable(nameof(Colors));
|
||||
|
||||
modelBuilder
|
||||
.Entity<Creator>()
|
||||
|
||||
@@ -11,7 +11,7 @@ public class Creator
|
||||
|
||||
public About About { get; set; } = new();
|
||||
public Socials Socials { get; set; } = new();
|
||||
public ProfileColors ProfileColors { get; set; } = new();
|
||||
public Colors Colors { get; set; } = new();
|
||||
public Images Images { get; set; } = new();
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ public class About
|
||||
[MaxLength(2048)] public string? Description { get; set; }
|
||||
}
|
||||
|
||||
public class ProfileColors
|
||||
public class Colors
|
||||
{
|
||||
[MaxLength(9)] public string? BannerTop { get; set; }
|
||||
[MaxLength(9)] public string? BannerBottom { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user