I was thinking that I would have two tables for mysql. One for storing login information and the other for shipping address. Is that the conventional way or is everything store in one table?
For two tables… is there a way where it automatically copies a column from table A to table B, so that I can reference the same id to grab their shipping address…
If its a single address and if it is going to be updated everytime , then you can have it in a single table something like
whereas if you want to store all the shipping addresses for a single customer(across multiple visits) then it would be a good design to have another table customer_shipping_address