We want to build an information publishing function, but the information under each category is not unified. For example, they all have the same basic elements: title, release time, and text. In some categories, the information may have one to four fields, some may also require accompanying pictures, and some may require document content, etc. That is, everything from table structure to HTML form may be different. How to design it
One: Make only one table and take all possible fields into consideration
Two: Make a table that only contains basic fields, and use associations for other redundant fields
Three: Haven’t thought about it yet
____________________
When a superior man hears the Tao, he practices it diligently; when a sergeant hears the Tao, he lives or perishes; when a junior man hears the Tao, he laughs. Not smiling is not enough for the Tao.
"Life" is - after class, after school, on vacation, after graduation, after enough fun, when you get old, when you regret, when you die!