summaryrefslogtreecommitdiff
path: root/Project-Unite/Models/IdentityModels.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite/Models/IdentityModels.cs')
-rw-r--r--Project-Unite/Models/IdentityModels.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Project-Unite/Models/IdentityModels.cs b/Project-Unite/Models/IdentityModels.cs
index 2e1bf31..46c8e56 100644
--- a/Project-Unite/Models/IdentityModels.cs
+++ b/Project-Unite/Models/IdentityModels.cs
@@ -30,6 +30,8 @@ namespace Project_Unite.Models
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more.
public class ApplicationUser : IdentityUser
{
+ public string GroupId { get; set; }
+
public async Task<ClaimsIdentity> GenerateUserIdentityAsync(UserManager<ApplicationUser> manager)
{
// Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType
@@ -252,6 +254,7 @@ namespace Project_Unite.Models
public DbSet<Story> Stories { get; set; }
public DbSet<View> Views { get; set; }
public DbSet<OAuthToken> OAuthTokens { get; set; }
+ public DbSet<Group> Groups { get; set; }
}
public class OAuthToken