Renames StoredDataUrls to Images
This commit is contained in:
@@ -54,7 +54,7 @@ public class ContentDbContext(
|
||||
|
||||
modelBuilder
|
||||
.Entity<Creator>()
|
||||
.OwnsOne<StoredDataUrls>(x => x.StoredDataUrls)
|
||||
.ToTable(nameof(StoredDataUrls));
|
||||
.OwnsOne<Images>(x => x.Images)
|
||||
.ToTable(nameof(Images));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public class Creator
|
||||
public About About { get; set; } = new();
|
||||
public Socials Socials { get; set; } = new();
|
||||
public ProfileColors ProfileColors { get; set; } = new();
|
||||
public StoredDataUrls StoredDataUrls { get; set; } = new();
|
||||
public Images Images { get; set; } = new();
|
||||
}
|
||||
|
||||
public class About
|
||||
@@ -41,8 +41,8 @@ public class Socials
|
||||
[MaxLength(255)] public string? WebsiteUrl { get; set; }
|
||||
}
|
||||
|
||||
public class StoredDataUrls
|
||||
public class Images
|
||||
{
|
||||
[MaxLength(255)] public string? BannerPictureUrl { get; set; }
|
||||
[MaxLength(255)] public string? ProfilePictureUrl { get; set; }
|
||||
[MaxLength(255)] public string? Banner { get; set; }
|
||||
[MaxLength(255)] public string? Logo { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user