0
ya-dev created
- ABP Framework version: v4.0
- DB provider: EF Core
Hi,
I've added an entity to my context which has a navigation property to tenants table. Migration file's been created with success. But when I try to run DbMigrator app, it throws an exception like this:
And my entity's config is like this:
gl.HasOne(g => g.Tenant).WithMany().HasForeignKey(g => g.TenantId);
How can I solve this problem?
Thanks.
PS: Related with this post
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
5 Answer(s)
-
0
Hi,
I think the problem is clear and easy to reproduce. Also I've linked a related problem. I cannot share the source code. It's a corporate project and contains sensitive information.
Thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
I created an issue: https://github.com/abpframework/abp/issues/8019
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
