mysql add auto increment id existing table
snippet in sql

mysql add auto increment id existing table

user4991

ALTER TABLE `users` ADD `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY