There should be 3rd database tables which can be shared between host and tenant
This is wrong.
IsTenantOnlyDatabase(): Returns true if you should only create tenant-related tables, but should not create host-related tables. It is equivalent of checking modelBuilder.GetMultiTenancySide() == MultiTenancySides.Tenant.
https://docs.abp.io/en/abp/5.1/Entity-Framework-Core-Migrations#separating-host-tenant-database-schemas
Yes, If you commented out the IdentityServer
You need to recreate all migrations for the host and tenant and IdentityServer+identity.
dotnet ef migrations add Initial --context QADbContext
dotnet ef migrations add Initial --context QATenantDbContext --output-dir Migrations/Tenant
dotnet ef migrations add Initial --context QAIdentityDbContext --output-dir Migrations/Identity
if changes are only in *.EntityFrameoworkCore project only
Yes,
You have also provided 3 commands. how exactly i should run them
Run it on EntityFrameoworkCore project folder to add init migrations.
HI
app.UseJwtTokenMiddleware();
app.UseJwtTokenMiddleware("CustomJWT");
System.InvalidOperationException: Scheme already exists: Bearer at Microsoft.AspNetCore.Authentication.AuthenticationOptions.AddScheme(String name
You can use a different scheme name.
This is just a jwt authentication scheme, you can add a custom jwt or cookies authentication scheme.
https://support.abp.io/QA/Questions/2680#answer-66c50306-894d-cb9f-6ca2-3a02758a3d5a
Invalid object name "IdentityServerIdentityResources"
Full error logs?
Can you use dotnet cli to resotre and build?
dotnet restore
dotnet build