hi
Can you share your steps and the command output?
hi
Did you re-create the EF Core migrations and migrator again?
Yes
https://github.com/dotnet/aspnetcore/blob/main/src/Identity/Extensions.Core/src/PasswordHasherOptions.cs#L21
hi
but do we have any other way to generate the insert scripts for data seeding from the Migration tool right? Mainly for Permission, Roles and Tenant specific data.
You should use the Data Seed system.
https://docs.abp.io/en/abp/latest/Data-Seeding
Also sometimes we are getting the Generated SQL file as empty, any idea on that? for the below code
You can rebuild the project and retry.
Then I will send you the logs you requested.
Thanks
liming.ma@volosoft.com
hi
This is asp net core identity's design.
hi
It was not possible to connect to the redis server(s). UnableToConnect on redis_g1:6379
You can test your connection using Redis CLI or the Redis management tool.
hi
You can copy the full code of EfCoreLanguageRepository and replace the service.
We will make it overriden in next verison.
Thanks
hi
I think you can only use the dotnet ef migrations script to get the script on each project.
The migratory tool just applies the migration and seeds the data.
hi
public DbSet<IdentityUserDelegation> UserDelegations { get; }
/* Add DbSet properties for your Aggregate Roots / Entities here. */
#region Entities from the modules
/* Notice: We only implemented IIdentityProDbContext and ISaasDbContext
* and replaced them for this DbContext. This allows you to perform JOIN
* queries for the entities of these modules over the repositories easily. You
* typically don't need that for other modules. But, if you need, you can
* implement the DbContext interface of the needed module and use ReplaceDbContext
* attribute just like IIdentityProDbContext and ISaasDbContext.
*
* More info: Replacing a DbContext of a module ensures that the related module
* uses this DbContext on runtime. Otherwise, it will use its own DbContext class.
*/
// Identity
public DbSet<IdentityUser> Users { get; set; }
public DbSet<IdentityRole> Roles { get; set; }
public DbSet<IdentityClaimType> ClaimTypes { get; set; }
public DbSet<OrganizationUnit> OrganizationUnits { get; set; }
public DbSet<IdentitySecurityLog> SecurityLogs { get; set; }
public DbSet<IdentityLinkUser> LinkUsers { get; set; }
public DbSet<IdentityUserDelegation> UserDelegations { get; }
// SaaS
public DbSet<Tenant> Tenants { get; set; }
public DbSet<Edition> Editions { get; set; }
public DbSet<TenantConnectionString> TenantConnectionStrings { get; set; }
#endregion