Hello, we created a project with DDD and made a lot of development on the project. We did not create the tenant module when we opened the project, but now I want to use the tenant module in our project. How can we add the tenant module to our project later and add some existing users as tenants? we use mvc ui.
-
ABP Framework version: vX.X.X
-
UI Type: MVC
-
Database System: EF Core PostgreSQL
-
Tiered (for MVC) or Auth Server Separated (for Angular): mvc
-
Exception message and full stack trace:
-
Steps to reproduce the issue:
1 Answer(s)
-
0
Hi,
There are a few questions I would like to ask in order to better answer your question.
-
Check if there is
Volo.Saas.Domain.Shared
reference inMyProjectName.Domain.Shared.csproj
inMyProjectName.Domain.Shared
project. -
If so, check
IsEnabled
property in MultiTenancyConsts class in MultiTenancy folder inMyProjectName.Domain.Shared
project. This is probably set to false in your case.
If so, simply set this value to true and create a new migration. However, if you don't have a reference to the SaaS module, we will need to add the SaaS module first and move on. I can guide you according to your answers.
-