The real reason is normalization, and you break the first normal form by doing it.
However, there are many cases in which a violation of normal forms could be considered. How many fields do you mean, and are they all Boolean?
Saving an array serialized as a string in your database will have the following disadvantages (among others):
- When you need to update your settings, you must first extract the current settings from the database, non-serialize the array, modify the array, serialize the array and update the data in the table.
- When searching, you won’t be able to simply ask the database if this parameter is disabled or enabled (or a set of users), so you will not have any chance of a search.
" " . , 30 , , ( , , , ).
: , , , .