Hacker News new | ask | show | jobs
by muad_kyrlach 1921 days ago
Am I the only one who rejects this data model? Customers belong to store and orders don't? I can see how a customer might have a primary store, but i would link the customer to the order and link the order to the store. Union's are awesome, but proper data modeling is better. :)