<div dir="ltr"><div><div><div><div><div>Dear all!<br><br></div>Whenever I start setting up a somewhat larger database, I come across the question: how to design customer-specific attributes?<br></div>I can&#39;t imagine that this question was not elaborated extensively in the Internet, but I did not manage to find a good article about it. Maybe it&#39;s something trivial.<br><br></div><div>Example:<br></div></div>Assume a generic web shop. You have a table of products. These products to have a set of pre-defined attributes like price, VAT, weight etc.<br><br></div><div>Some time later, new attributes will be added. Simple new, single-value attributes, as well as multi-value-attributes.<br></div><div>Like colors (can be either blue or yellow) or topics (1 or more of: gardening, cars, programming, ...).<br><br></div><div>Do you know a comprehensive guide how to do it best? In the ideal case, by using DBIx::Class :)<br><br></div><div>In the past, I used hand-make code to alter tables (add or remove columns, while keeping the default columns), and the normalization approach with single values attributes.<br><br></div><div>Best regards,<br></div><div>Alex<br></div></div>