Resolve is to remove the primary key and then create a primary key.
Drop Primary Times:
Cannot drop column 'cid': needed in a foreign key constraint 'cart_ibfk_1' of table 'cart'
Need to remove the cart inside cart_ibfk_1 primary key table before you can delete cid primary key.
And then not to create a new table! ! !