Add an auto_increment primary key to all inputs