change the column auto_increment from one to another in existing table mysql code example
Example: mysql alter column auto increment
ALTER TABLE document MODIFY COLUMN document_id INT auto_increment
ALTER TABLE document MODIFY COLUMN document_id INT auto_increment