3

Is there a way to reset the entry_id count for newly created entries?

I'm importing entries with Datagrab and need them to have entry_id's starting from 1. There are no other entries in the system.

1 Answer 1

5

If you have MySQL access, you can run the following query:

ALTER TABLE exp_channel_titles AUTO_INCREMENT = 1

You can also run this command from the CP using the Database Query Form under

Tools > Data > SQL Manager > Database Query Form

1
  • What would be the ramification of doing this with a site with existing entries? Commented Apr 21, 2016 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.