Skip to content

Commit 1a9a2f7

Browse files
committed
Update ApplicationUser.cs
1 parent 02f18ff commit 1a9a2f7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

MyApp.ServiceInterface/Data/ApplicationUser.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
using Microsoft.AspNetCore.Identity;
1+
using Microsoft.AspNetCore.Identity;
22

33
namespace MyApp.Data;
44

5+
/* After modifying ApplicationUser, delete and recreate the initial EF Core migration with:
6+
rm Migrations/202*.cs Migrations/ApplicationDbContextModelSnapshot.cs
7+
dotnet ef migrations add CreateIdentitySchema
8+
*/
9+
510
// Add profile data for application users by adding properties to the ApplicationUser class
611
public class ApplicationUser : IdentityUser
712
{

0 commit comments

Comments
 (0)