how does mysql respond to changing requirements?
Let me give you an example of buying goods: send red packets to users after the order is paid; do you store the record of sending red packets separately or in the order table?
the order list should show how many red packets have been sent for this order, and be able to sort by the amount of red packets.
after a few days, the product says that after the payment of the order is issued, the user will be issued with gold coins. It is necessary to record how many gold coins have been issued and be able to sort them according to gold coins. How should mysql deal with such changes in product demand?