Make an existing MySQL column auto_increment

Modify an existing column to make it auto increment.

  1. ALTER TABLE [table name] MODIFY [column] int NOT NULL AUTO_INCREMENT

Add new comment