add auto increment index in tables.