Actually, this kind of migration generation is normal if you go with the Table Splitting approach, because in this approach basically, you create a subset of an entity by mapping it with another entity.
As a second option, Can you please check the "The AppUser Entity & Custom Properties " section of this article.
Hi, sorry for the late response. I've just tried and encountered an error as you mentioned. I'll create an internal issue for it. Thanks for reporting. Btw, your credit has been refunded.
In oracle, the maximum of varchar2 is 2000. i can not increase more.
Are you sure? As I know, varchar2 can store 4000 bytes/characters max. (https://docs.oracle.com/cd/E18283_01/server.112/e17110/limits001.htm)
Where to create MyAuditLogContributor? In Web, or Application, or EntityFrameworkCore ?
You can create it in your web or application project.
Please note that i am using Oracle. builder.Entity<AuditLogAction>(b => { b.Property(x => x.Parameters).HasMaxLength(int.MaxValue); });
Then can you set the .HasColumnType("varchar2(max)")
and remove the .HasMaxLength(int.MaxValue)
statement as below:
builder.Entity(b =>
{
b.Property(x => x.Parameters).HasColumnType("varchar2(max)");
});
What about this one help me please
Access to XMLHttpRequest at 'https://localhost:44362/.well-known/openid-configuration' from origin 'https://localhost:44308' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Hi, as the error message said this is an error related to CORS policy and a different topic from this question, so please create a new question for your problem.
You can use the Table Splitting approach. Please see the Table Splitting documentation of EF Core and then just update your entity configuration as below:
builder.Entity<AppUser>(b =>
{
b.ToTable(AbpIdentityDbProperties.DbTablePrefix + "Users"); //Sharing the same table "AbpUsers" with the IdentityUser
b.ConfigureByConvention();
b.ConfigureAbpUser();
b.HasOne<IdentityUser>().WithOne().HasForeignKey<AppUser>(x => x.Id); //add this line
});
Same with https://github.com/abpframework/abp/issues/8950#issuecomment-1001880208
It's nice to hear that :)
Sure, you can send your project to engin.veske@volosoft.com.
are u checking?
I've checked and write you an email back, can you check and apply it?
Hi, I'll try to reproduce the problem and write you back asap.
Sure, you can send your project to engin.veske@volosoft.com.