summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/nuke-bugs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/nuke-bugs.pl b/contrib/nuke-bugs.pl
index 813d3f741..0226c1726 100755
--- a/contrib/nuke-bugs.pl
+++ b/contrib/nuke-bugs.pl
@@ -52,7 +52,7 @@ delete_from_table('bug_group_map');
delete_from_table('bugs');
delete_from_table('longdescs');
-$dbh->do("ALTER TABLE bugs AUTO_INCREMENT = 1"); # MySQL specific
+$dbh->do($dbh->_bz_real_schema->get_set_serial_sql('bugs', 'bug_id', 1));
$dbh->bz_commit_transaction();