Reset AUTO_INCREMENT on effected tables

Created on 18 May 2011, over 13 years ago
Updated 4 September 2023, over 1 year ago

Not the most critical thing in the world, but it would be nice if this module would also reset the SQL AUTO_INCREMENT value for tables that are empty after deleting all nodes. I find myself doing this manually now on tables {node} and {node_revisions}. Just some simple logic that checks if these tables have no rows and, if so, TRUNCATE them.

(If I get my git environment set up soon, I'll submit a patch!)

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇺🇸United States wanderingstan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I am closing this issue because is for a branch that is now not supported. Only branches compatible with Drupal 7, Drupal 9, or Drupal 10 are now supported.

Production build 0.71.5 2024