Added profile ProfileColors and Profile images
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
using Hutopy.Domain.Constants;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Hutopy.Domain.Constants;
|
||||
using Hutopy.Infrastructure.Identity;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
@@ -12,5 +12,15 @@ public class ApplicationUserConfiguration : IEntityTypeConfiguration<Application
|
||||
builder
|
||||
.OwnsOne(u => u.SocialNetworks)
|
||||
.ToTable($"{nameof(ApplicationUser)}_SocialNetworks");
|
||||
|
||||
// Relationship between ApplicationUser and ProfileColors
|
||||
builder
|
||||
.OwnsOne(u => u.ProfileColors)
|
||||
.ToTable($"{nameof(ApplicationUser)}_ProfileColors");
|
||||
|
||||
// Relationship between ApplicationUser and StoredDataUrls
|
||||
builder
|
||||
.OwnsOne(u => u.StoredDataUrls)
|
||||
.ToTable($"{nameof(ApplicationUser)}_StoredDataUrls");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user