Open Closed

Change IdentityUser primary key to an "int" type #5843


User avatar
0
pablo@ccalp.net created
  • ABP Framework version: v7.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

Is there a way to change the IdentityUser primary key from GUID to an Int? Is it possible to do this on an existing project with existing data (test data), if I need to regenerate the database it is not a problem.

Thank you.


1 Answer(s)
  • User Avatar
    0
    jfistelmann created

    Hey,

    no, that is not possible without HEAVY customization of nearly everything abp related.

    May I ask why you want to do that?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 18, 2025, 10:42