From 0ae47a126b1fb37ecbc80ecddd34a892fb6fd3b2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 7 May 2017 09:19:55 -0400 Subject: groups (formerly legions) index --- Project-Unite/Models/IdentityModels.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Project-Unite/Models/IdentityModels.cs') 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 GenerateUserIdentityAsync(UserManager manager) { // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType @@ -252,6 +254,7 @@ namespace Project_Unite.Models public DbSet Stories { get; set; } public DbSet Views { get; set; } public DbSet OAuthTokens { get; set; } + public DbSet Groups { get; set; } } public class OAuthToken -- cgit v1.2.3