Having spent some time migrating old data into a new drupal site, my first node id is already into the 4 digit territory.
Has anyone had any experience in this position of renumbering node ids starting from #1? Maybe using direct queries on the database, or a module that traverses and renumbers all the nodes?
Of course, nodereferences have to be preserved… are there any other potential hangups if I try to script this?
There’s no general-purpose solution for this. You could do this for your specific Drupal setup with a bunch of direct queries, and possibly a mess of PHP for anything that stores node IDs as serialized data. But that would take a long time and wouldn’t work on any site running different modules. Which brings us to Kevin’s question: why?
High node IDs don’t cause technical problems, and even if they did, 4 digit node IDs aren’t even high.