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?

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 09, 2026, 07:22
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.