By nilsja on
Hi,
after a migration of phpnuke to drupal i have 400 "empty" (not used) nids. i would like drupal to take the first available nid. drupal 6.1 did that, but after updating not anymore.
is that possible?
thank you,
nils
Hi,
after a migration of phpnuke to drupal i have 400 "empty" (not used) nids. i would like drupal to take the first available nid. drupal 6.1 did that, but after updating not anymore.
is that possible?
thank you,
nils
Comments
The node table nid is
The node table nid is changed to autoincrement so without hacking drupal's main source i dont think it will be posible.
Cause you cant just set $node->nid to the lowest available id without drupal trying to update the node instead of creating it.
and changing the
and changing the autoincrement option directly in mysql doesnt work? if it should, which query do i have to run?
do you know how to hack
do you know how to hack drupals main source to let it choose the first available nid? it would not be a problem if that hack gets overwritten by the next update because i need this only to migrate articles for a website relaunch.
it's very important for me because of migration-reasons.