Page 1 of 1

Start counting from 1 with Bug ID

Posted: 18 Apr 2011, 09:55
by Reindero
Hi, I just installed and tested the Mantis version for a customer. Now I removed the test bugs, but entering a new bug just starts from 7 (6 test bugs) and not 1 as expected. How can I set this back to 1 again without having to install Mantis again?

Regards

Re: Start counting from 1 with Bug ID

Posted: 18 Apr 2011, 10:06
by atrol
If your database is MySQL

Code: Select all

ALTER TABLE `mantis_bug_table` AUTO_INCREMENT = 1;

Re: Start counting from 1 with Bug ID

Posted: 18 Apr 2011, 11:11
by Reindero
Cheers!