Reset app and device ids on development hub

OCD warning…..

Anyone know how to reset app (and even device) id generation on a hub without wiping it? I’m up to over 1200 for the app id, but only have about 10 apps installed. I’d like to reset the numbering for app ids to take the existing ones and id them 1 through 10 (oldest to newest) and then the next app I create will be 11 and so on. Right now, each new app I create has a number sequence over 1200 now (yes, I keep creating and deleting apps):man_shrugging::man_facepalming:

I am over 1700 for both apps and devices on my dev hub.

Without direct database access you cannot change the auto increment value on the tables.

1 Like

You can always turn the IDs off. Out of site, out of mind.

Ahh, but the OCD alarms in my head know! They will not rest with this solution. :wink:

I am up to 5939 for apps on my C5, which has been running since 2019, I got this hub just shortly after they came out. Devices are a similar 5250 items.

My C8 Pro is only months old, and apps are already at 6519, and devices are 5557. I suspect these are that high of a number because of migrating from another hub?

3 Likes

Yes, its going to be an auto incremented ID in the hub database, migration moves the entire database.

There is no way to reset it, short of a soft reset and starting over.

2 Likes