Add additional fields to [authp].[RoleToPermissions] & [authp].[UserToRoles] table. #93
Closed
moizsyed-10p
started this conversation in
General
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. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What is the way to add more fields to authp tables?
All reactions