Add additional fields to [authp].[RoleToPermissions] & [authp].[UserToRoles] table. #93
Replies: 1 comment 2 replies
-
Hi @moizsyed-10p, The AuthP uses a "one database, but many schemas". For instance, in Example 3 (Single level multi-tenant application) the database has three parts:
So, to add extra data you can create a new DbContext and add your own classes / tables. You can migrate your new DbContext via the To link your classes to the AuthP's classes I suggest you use EF Core's View mapping. I show how to do this in this section in one of my "Evolving modular monoliths" articles. |
Beta Was this translation helpful? Give feedback.
-
What is the way to add more fields to authp tables?
Beta Was this translation helpful? Give feedback.
All reactions