mysql modify column auto increment code example Example: mysql alter column auto increment ALTER TABLE document MODIFY COLUMN document_id INT auto_increment