New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChangeAbpTablePrefix is not working #5925
Comments
hi
|
.Net Core MVC pack, 5.8.1 and higher versions... |
@ibalmaci thanks, we will fix this. |
@ismcagdas thanks. I tried and I saw that it is working... |
Hi, @ibalmaci |
Hi @isbullaml , yes, it's fixed with following commit. But, if you use aspnetnoilerplate nuget packs, you need to wait the pack version 6.1.0 |
duplicate of #5877 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use that line in DbContext:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
modelBuilder.ChangeAbpTablePrefix<Tenant, Role, User>("");
}
Add-Migration command causes belowing error:
System.InvalidOperationException: Both 'TenantFeatureSetting' and 'EditionFeatureSetting' are mapped to the table 'AbpFeatures'. All the entity types in a hierarchy that don't have a discriminator must be mapped to different tables.
The text was updated successfully, but these errors were encountered: