https://github.com/abpframework/abp/pull/9750
virtual in SeedAsync method.[UnitOfWork]
public virtual async Task SeedAsync(DataSeedContext context)
eventData.Entity.TenantId to create new rolevar newRole = new IdentityRole(guidGenerator.Create(), RolesDemoConstants.SelfServiceTenantClientRole, eventData.Entity.TenantId) { IsPublic = true, IsStatic = true };
You're welcome, we will continue to improve the documentation.
If your unit tests require other contexts, you can migrate multiple contexts.
https://github.com/abpframework/abp/blob/dev/modules/identity/test/Volo.Abp.Identity.EntityFrameworkCore.Tests/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreTestModule.cs#L38-L44
For AbpSettings table the context is SettingManagementDbContext
hi Sturla
Can you share a project and steps to show your question? : ) https://abp.io/get-started
Can you share your command that creates the migrations?
Have you tried to add Host and Tenant migrations both?