Renames SocialNetworks to Socials
This commit is contained in:
@@ -44,8 +44,8 @@ public class ContentDbContext(
|
||||
|
||||
modelBuilder
|
||||
.Entity<Creator>()
|
||||
.OwnsOne<SocialNetworks>(x => x.SocialNetworks)
|
||||
.ToTable(nameof(SocialNetworks));
|
||||
.OwnsOne<Socials>(x => x.Socials)
|
||||
.ToTable(nameof(Socials));
|
||||
|
||||
modelBuilder
|
||||
.Entity<Creator>()
|
||||
|
||||
@@ -10,7 +10,7 @@ public class Creator
|
||||
[MaxLength(255)] public string Name { get; set; } = null!;
|
||||
|
||||
public About About { get; set; } = new();
|
||||
public SocialNetworks SocialNetworks { get; set; } = new();
|
||||
public Socials Socials { get; set; } = new();
|
||||
public ProfileColors ProfileColors { get; set; } = new();
|
||||
public StoredDataUrls StoredDataUrls { get; set; } = new();
|
||||
}
|
||||
@@ -29,7 +29,7 @@ public class ProfileColors
|
||||
[MaxLength(9)] public string? Menu { get; set; }
|
||||
}
|
||||
|
||||
public class SocialNetworks
|
||||
public class Socials
|
||||
{
|
||||
[MaxLength(255)] public string? FacebookUrl { get; set; }
|
||||
[MaxLength(255)] public string? InstagramUrl { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user